summaryrefslogtreecommitdiffstats
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
parentb7d98cb89889032d7fc7b7e16b5183305dfb714b (diff)
downloadQt-d1b522c76eb1132254f195c2f59bd5d55cd2f525.zip
Qt-d1b522c76eb1132254f195c2f59bd5d55cd2f525.tar.gz
Qt-d1b522c76eb1132254f195c2f59bd5d55cd2f525.tar.bz2
Remove debug, quiet warnings.
-rw-r--r--examples/network/bearermonitor/sessionwidget.cpp2
-rw-r--r--src/plugins/bearer/networkmanager/qnetworkmanagerservice.cpp2
2 files changed, 1 insertions, 3 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)
diff --git a/src/plugins/bearer/networkmanager/qnetworkmanagerservice.cpp b/src/plugins/bearer/networkmanager/qnetworkmanagerservice.cpp
index f47c97c..499fe5a 100644
--- a/src/plugins/bearer/networkmanager/qnetworkmanagerservice.cpp
+++ b/src/plugins/bearer/networkmanager/qnetworkmanagerservice.cpp
@@ -743,8 +743,6 @@ bool QNetworkManagerSettingsConnection::isAutoConnect()
quint64 QNetworkManagerSettingsConnection::getTimestamp()
{
- qDebug() << d->settingsMap.value(QLatin1String("connection"));
-
return d->settingsMap.value(QLatin1String("connection"))
.value(QLatin1String("timestamp")).toUInt();
}