|
|
@@ -183,6 +183,7 @@ void TipWidget::run()
|
|
|
connect(_animation, &QPropertyAnimation::finished, this, [this]{
|
|
|
if (nullptr == _pKillTimer)
|
|
|
_pKillTimer = new QTimer(this);
|
|
|
+ _pKillTimer->setParent(this);
|
|
|
_pKillTimer->start(1 * 1000);
|
|
|
connect(_pKillTimer, &QTimer::timeout, this, &TipWidget::onFadeOut);
|
|
|
});
|