diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-02-24 22:20:12 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-02-24 22:20:12 (GMT) |
commit | 3b699af494d7e9827b9eb26658b8cb4cb3e84dab (patch) | |
tree | 2aa27bed49146353ffba06bf03bab83b730fa92b /src/plugins | |
parent | ef30a6f336d55c813423bf139d8363f50181179f (diff) | |
parent | cab764871cc9379ca9757f41dca9e3ed9e9d34aa (diff) | |
download | Qt-3b699af494d7e9827b9eb26658b8cb4cb3e84dab.zip Qt-3b699af494d7e9827b9eb26658b8cb4cb3e84dab.tar.gz Qt-3b699af494d7e9827b9eb26658b8cb4cb3e84dab.tar.bz2 |
Merge branch 'master' of scm.dev.nokia.troll.no:qt/berlin-staging-1 into master-integration
* 'master' of scm.dev.nokia.troll.no:qt/berlin-staging-1:
suppress pointer aliasing warnings
Fix compilation with namespace.
Assistant: Make ~AbstractHelpViewer() virtual.
Prepare German translations for 4.7 (except Quick).
tr()-Fixes in Assistant/QHelpLib code.
Remove QObject::tr() in the network module code.
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/bearer/generic/qgenericengine.cpp | 1 | ||||
-rw-r--r-- | src/plugins/bearer/icd/qnetworksession_impl.cpp | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/bearer/generic/qgenericengine.cpp b/src/plugins/bearer/generic/qgenericengine.cpp index a95b14b..f654038 100644 --- a/src/plugins/bearer/generic/qgenericengine.cpp +++ b/src/plugins/bearer/generic/qgenericengine.cpp @@ -62,6 +62,7 @@ #include <net/if_arp.h> #endif +QT_BEGIN_NAMESPACE static QString qGetInterfaceType(const QString &interface) { diff --git a/src/plugins/bearer/icd/qnetworksession_impl.cpp b/src/plugins/bearer/icd/qnetworksession_impl.cpp index a9e93e0..e7c56a2 100644 --- a/src/plugins/bearer/icd/qnetworksession_impl.cpp +++ b/src/plugins/bearer/icd/qnetworksession_impl.cpp @@ -1080,14 +1080,14 @@ QString QNetworkSessionPrivateImpl::errorString() const QString errorStr; switch(q->error()) { case QNetworkSession::RoamingError: - errorStr = QObject::tr("Roaming error"); + errorStr = QNetworkSessionPrivateImpl::tr("Roaming error"); break; case QNetworkSession::SessionAbortedError: - errorStr = QObject::tr("Session aborted by user or system"); + errorStr = QNetworkSessionPrivateImpl::tr("Session aborted by user or system"); break; default: case QNetworkSession::UnknownSessionError: - errorStr = QObject::tr("Unidentified Error"); + errorStr = QNetworkSessionPrivateImpl::tr("Unidentified Error"); break; } return errorStr; |