Skip to content
Verified Commit fc01a7f8 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.
parent 05faa9c1
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