summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorDaniel Molkentin <daniel.molkentin@nokia.com>2011-12-19 10:56:01 +0100
committerEike Ziller <eike.ziller@nokia.com>2011-12-19 11:27:07 +0100
commit716da0d786b5dde41cf3a688c999164377a4d798 (patch)
tree8e059f7b0d4d668565413d1c32fe0ab8e82d4ec8 /src/plugins
parent99e3556a4c650f1e89e7e24ad85a7c2713f80fa6 (diff)
downloadqt-creator-716da0d786b5dde41cf3a688c999164377a4d798.tar.gz
Don't call killTimer() on dead timers.
Change-Id: I3d8b44534d748c820ae63c6909b4eb28ff566283 Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/updateinfo/updateinfoplugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/updateinfo/updateinfoplugin.cpp b/src/plugins/updateinfo/updateinfoplugin.cpp
index 8eb8cd88ef..306dff690d 100644
--- a/src/plugins/updateinfo/updateinfoplugin.cpp
+++ b/src/plugins/updateinfo/updateinfoplugin.cpp
@@ -110,6 +110,7 @@ void UpdateInfoPlugin::startCheckTimer(uint milliseconds)
void UpdateInfoPlugin::stopCurrentCheckTimer()
{
killTimer(d->currentTimerId);
+ d->currentTimerId = 0;
}