diff --git a/src/DockFocusController.cpp b/src/DockFocusController.cpp index 0859c1a..f1e9282 100644 --- a/src/DockFocusController.cpp +++ b/src/DockFocusController.cpp @@ -42,7 +42,7 @@ struct DockFocusControllerPrivate CDockFocusController *_this; QPointer FocusedDockWidget = nullptr; QPointer FocusedArea = nullptr; - CDockWidget* OldFocusedDockWidget = nullptr; + QPointer OldFocusedDockWidget = nullptr; #ifdef Q_OS_LINUX QPointer FloatingWidget = nullptr; #endif