summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2010-07-27 02:11:12 (GMT)
committerAaron McCarthy <aaron.mccarthy@nokia.com>2010-07-27 02:11:12 (GMT)
commit7b16419e61ea0ec2aa981b9600581f517addbb72 (patch)
tree0777b95ef9f046a2921625813b7ed1cffd5ae2d4 /examples
parent5929062996c9d0d90f19198064953a0086be7741 (diff)
parentc16f0a839743af36b36aea9c35f0d5ddfda3d6ac (diff)
downloadQt-7b16419e61ea0ec2aa981b9600581f517addbb72.zip
Qt-7b16419e61ea0ec2aa981b9600581f517addbb72.tar.gz
Qt-7b16419e61ea0ec2aa981b9600581f517addbb72.tar.bz2
Merge commit 'c16f0a839743af36b36aea9c35f0d5ddfda3d6ac' into oslo-staging-1
Diffstat (limited to 'examples')
-rw-r--r--examples/network/bearercloud/cloud.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/network/bearercloud/cloud.cpp b/examples/network/bearercloud/cloud.cpp
index 2856c71..980efbf 100644
--- a/examples/network/bearercloud/cloud.cpp
+++ b/examples/network/bearercloud/cloud.cpp
@@ -245,6 +245,8 @@ void Cloud::stateChanged(QNetworkSession::State state)
else
finalOpacity = 1.0;
+#if !defined(Q_WS_MAEMO_5) && !defined(Q_WS_MAEMO_6) && \
+ !defined(Q_OS_SYMBIAN) && !defined(Q_OS_WINCE)
QString tooltip;
if (configuration.name().isEmpty())
@@ -302,6 +304,9 @@ void Cloud::stateChanged(QNetworkSession::State state)
tooltip += tr("<br>Sent data: %1 bytes").arg(session->bytesWritten());
setToolTip(tooltip);
+#else
+ Q_UNUSED(state);
+#endif
}
//! [2]