summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorKevin Wright <kevin.wright@nokia.com>2010-07-27 08:29:37 (GMT)
committerKevin Wright <kevin.wright@nokia.com>2010-07-27 08:29:37 (GMT)
commit2b76b4fb7f91cc266a160420d12f0581cd87539a (patch)
treec5c9b754f29c63295ab2c55ff8e1b837e02b2f8f /examples
parenta98af1c7f1bba3c791d08e76e4896e48ea6ea019 (diff)
parent7b16419e61ea0ec2aa981b9600581f517addbb72 (diff)
downloadQt-2b76b4fb7f91cc266a160420d12f0581cd87539a.zip
Qt-2b76b4fb7f91cc266a160420d12f0581cd87539a.tar.gz
Qt-2b76b4fb7f91cc266a160420d12f0581cd87539a.tar.bz2
Merge branch '4.7' of http://git.scm.dev.nokia.troll.no/qt/oslo-staging-1 into 4.7
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]