fix QTimer issues

This commit is contained in:
Patrick von Reth 2015-07-15 16:08:12 +02:00
parent 74a500efa9
commit eecd2b4217

View File

@ -128,7 +128,7 @@ bool NotificationData::sourceAndTargetAreSimilar(const SnorePlugin *target)
void NotificationData::stopTimeoutTimer() void NotificationData::stopTimeoutTimer()
{ {
if (m_timeoutTimer) { if (m_timeoutTimer) {
QMetaObject::invokeMethod(m_timeoutTimer.data(), "deleteLater", Qt::QueuedConnection); m_timeoutTimer->deleteLater();
} }
} }