From e008a5d7d4906b75c92534f2dc9dad494573849a Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Fri, 11 Jul 2014 19:15:06 +0200 Subject: [PATCH] If a timer is active and we start it, it will restart No need to check if it's active and stop it first, according to the documentation. --- src/plasma/private/applet_p.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/plasma/private/applet_p.cpp b/src/plasma/private/applet_p.cpp index 4fe27c979..07efc363d 100644 --- a/src/plasma/private/applet_p.cpp +++ b/src/plasma/private/applet_p.cpp @@ -388,10 +388,6 @@ void AppletPrivate::scheduleModificationNotification() // modificationsTimer is not allocated until we get our notice of being started if (modificationsTimer) { // schedule a save - if (modificationsTimer->isActive()) { - modificationsTimer->stop(); - } - modificationsTimer->start(1000, q); } }