From 6444e7424fcf571eb6168be53c481e5e44115af9 Mon Sep 17 00:00:00 2001 From: Chnossos <7984363+Chnossos@users.noreply.github.com> Date: Wed, 19 Oct 2022 20:39:19 +0200 Subject: [PATCH] fix: DockFocusController doesn't pick up on previous dock deletion outside of view (#453) Co-authored-by: Pierre Caissial --- src/DockFocusController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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