Skip to content
Verified Commit 4d4f9385 authored by Fushan Wen's avatar Fushan Wen
Browse files

shell: avoid potential crash when previous window is gone before returning focus

m_previousPlasmaWindow is bound to a window, and if a window is closed
before `restorePreviousWindow` is called, there will be a crash. Use
QPointer to track the window destruction.

(cherry picked from commit fc01a7f8)
parent 09c3ca1a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment