mirror of
https://github.com/status-im/snorenotify.git
synced 2025-01-24 15:29:18 +00:00
fix QTimer issues
This commit is contained in:
parent
74a500efa9
commit
eecd2b4217
@ -128,7 +128,7 @@ bool NotificationData::sourceAndTargetAreSimilar(const SnorePlugin *target)
|
||||
void NotificationData::stopTimeoutTimer()
|
||||
{
|
||||
if (m_timeoutTimer) {
|
||||
QMetaObject::invokeMethod(m_timeoutTimer.data(), "deleteLater", Qt::QueuedConnection);
|
||||
m_timeoutTimer->deleteLater();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user