From eecd2b4217847dd6c8a7bcbb8e20329c4aee789b Mon Sep 17 00:00:00 2001 From: Patrick von Reth Date: Wed, 15 Jul 2015 16:08:12 +0200 Subject: [PATCH] fix QTimer issues --- src/libsnore/notification/notification_p.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsnore/notification/notification_p.cpp b/src/libsnore/notification/notification_p.cpp index 50982d9..22e0e9e 100644 --- a/src/libsnore/notification/notification_p.cpp +++ b/src/libsnore/notification/notification_p.cpp @@ -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(); } }