summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2010-09-13 03:26:22 (GMT)
committerAaron McCarthy <aaron.mccarthy@nokia.com>2010-09-13 03:48:42 (GMT)
commitd1b522c76eb1132254f195c2f59bd5d55cd2f525 (patch)
tree5ef82bb54a2b685e652415f4b87d32b94d70d337 /examples
parentb7d98cb89889032d7fc7b7e16b5183305dfb714b (diff)
downloadQt-d1b522c76eb1132254f195c2f59bd5d55cd2f525.zip
Qt-d1b522c76eb1132254f195c2f59bd5d55cd2f525.tar.gz
Qt-d1b522c76eb1132254f195c2f59bd5d55cd2f525.tar.bz2
Remove debug, quiet warnings.
Diffstat (limited to 'examples')
-rw-r--r--examples/network/bearermonitor/sessionwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/bearermonitor/sessionwidget.cpp b/examples/network/bearermonitor/sessionwidget.cpp
index ecc2a93..5ec9d53 100644
--- a/examples/network/bearermonitor/sessionwidget.cpp
+++ b/examples/network/bearermonitor/sessionwidget.cpp
@@ -107,7 +107,7 @@ void SessionWidget::updateSession()
if (session->state() == QNetworkSession::Connected)
statsTimer = startTimer(1000);
- else
+ else if (statsTimer != -1)
killTimer(statsTimer);
if (session->configuration().type() == QNetworkConfiguration::InternetAccessPoint)