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