diff --git a/src/widgets/private/dalertcontrol_p.h b/src/widgets/private/dalertcontrol_p.h index 5cf7c8d28..9d9370120 100644 --- a/src/widgets/private/dalertcontrol_p.h +++ b/src/widgets/private/dalertcontrol_p.h @@ -23,8 +23,8 @@ class DAlertControlPrivate : public DTK_CORE_NAMESPACE::DObjectPrivate bool isAlert = false; QPointer tooltip; QPointer frame; - QWidget *follower{nullptr}; - QWidget *target{nullptr}; + QPointer follower; + QPointer target; QColor alertColor; Qt::Alignment alignment{Qt::AlignLeft}; QTimer timer;