summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2010-09-13 13:26:22 +1000
committerAaron McCarthy <aaron.mccarthy@nokia.com>2010-09-13 13:48:42 +1000
commitd1b522c76eb1132254f195c2f59bd5d55cd2f525 (patch)
tree5ef82bb54a2b685e652415f4b87d32b94d70d337 /examples
parentb7d98cb89889032d7fc7b7e16b5183305dfb714b (diff)
downloadqt4-tools-d1b522c76eb1132254f195c2f59bd5d55cd2f525.tar.gz
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 ecc2a9367f..5ec9d53b1b 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)