diff options
author | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-07-26 02:42:06 (GMT) |
---|---|---|
committer | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-07-27 02:07:19 (GMT) |
commit | c16f0a839743af36b36aea9c35f0d5ddfda3d6ac (patch) | |
tree | 8208a48af58a3ddcb9617c6da085fc27fdc573ab /examples | |
parent | e9e0a82b1a5a71cefdd1711c51b786088b40bafd (diff) | |
download | Qt-c16f0a839743af36b36aea9c35f0d5ddfda3d6ac.zip Qt-c16f0a839743af36b36aea9c35f0d5ddfda3d6ac.tar.gz Qt-c16f0a839743af36b36aea9c35f0d5ddfda3d6ac.tar.bz2 |
Cherry pick fix for MOBILITY-1077 from Qt Mobility.
7ef45318255c5cf1f10508753c9a2c55fc2cb8c0
321bd8b7b54e34a983b1ba142af836cf3e153a66
Diffstat (limited to 'examples')
-rw-r--r-- | examples/network/bearercloud/cloud.cpp | 5 |
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] |