Skip to content

Commit

Permalink
fix: access wild pointer for targetWindowHandle
Browse files Browse the repository at this point in the history
ad title.

pms: BUG-368399
  • Loading branch information
18202781743 committed Jan 13, 2025
1 parent 7345335 commit 9ab3963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widgets/dtitlebar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ class DTitlebarPrivate : public DTK_CORE_NAMESPACE::DObjectPrivate
QAction *darkThemeAction = nullptr;
#endif

QWindow *targetWindowHandle = Q_NULLPTR;
QPointer<QWindow> targetWindowHandle;

Qt::WindowFlags disableFlags;
bool mousePressed = false;
Expand Down

0 comments on commit 9ab3963

Please sign in to comment.