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
Please register or sign in to comment