Skip to content

Commit

Permalink
fix: crash when follower was destroyed
Browse files Browse the repository at this point in the history
  • Loading branch information
kegechen committed May 13, 2024
1 parent 096e993 commit 54bb520
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/widgets/private/dalertcontrol_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ class DAlertControlPrivate : public DTK_CORE_NAMESPACE::DObjectPrivate
bool isAlert = false;
QPointer<DToolTip> tooltip;
QPointer<DFloatingWidget> frame;
QWidget *follower{nullptr};
QWidget *target{nullptr};
QPointer<QWidget> follower;
QPointer<QWidget> target;
QColor alertColor;
Qt::Alignment alignment{Qt::AlignLeft};
QTimer timer;
Expand Down

0 comments on commit 54bb520

Please sign in to comment.