summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJustin McPherson <justin.mcpherson@nokia.com>2010-07-05 15:53:12 +1000
committerJustin McPherson <justin.mcpherson@nokia.com>2010-07-05 15:53:12 +1000
commita6677abe79d21bfda6090347aa4410d95e078a17 (patch)
tree94959f09c4882c8005ff67c6021c9abf8564bbed /examples
parent03b2d3bb936e410aacf33f1ee746532dbeefa8aa (diff)
parent76a6bf447cbed9f77f75208010ae056248d1dc74 (diff)
Merge branch '1.0' of git@scm.dev.nokia.troll.no:qtmobility/qtmobility into 1.0
Diffstat (limited to 'examples')
-rw-r--r--examples/bearercloud/cloud.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/bearercloud/cloud.cpp b/examples/bearercloud/cloud.cpp
index 17b45baedf..8de96c859d 100644
--- a/examples/bearercloud/cloud.cpp
+++ b/examples/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())
@@ -300,6 +302,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]