Skip to content

Commit 6444e74

Browse files
ChnossosPierre Caissial
andauthored
fix: DockFocusController doesn't pick up on previous dock deletion outside of view (#453)
Co-authored-by: Pierre Caissial <[email protected]>
1 parent 3cd6d76 commit 6444e74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DockFocusController.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ struct DockFocusControllerPrivate
4242
CDockFocusController *_this;
4343
QPointer<CDockWidget> FocusedDockWidget = nullptr;
4444
QPointer<CDockAreaWidget> FocusedArea = nullptr;
45-
CDockWidget* OldFocusedDockWidget = nullptr;
45+
QPointer<CDockWidget> OldFocusedDockWidget = nullptr;
4646
#ifdef Q_OS_LINUX
4747
QPointer<CFloatingDockContainer> FloatingWidget = nullptr;
4848
#endif

0 commit comments

Comments
 (0)