summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2010-12-09 10:21:12 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2010-12-09 10:25:42 (GMT)
commite195adf461ae81f1fedd75cc8907f823edd1f8f7 (patch)
treea30e7e9311e0bd783259ffddee601f5e1f649652
parentd7294806fc43e8611c4441881e511af5f18c60db (diff)
downloadQt-e195adf461ae81f1fedd75cc8907f823edd1f8f7.zip
Qt-e195adf461ae81f1fedd75cc8907f823edd1f8f7.tar.gz
Qt-e195adf461ae81f1fedd75cc8907f823edd1f8f7.tar.bz2
Fix compilation of qnetworkreply test with namespaces.
-rw-r--r--tests/auto/qnetworkreply/tst_qnetworkreply.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qnetworkreply/tst_qnetworkreply.cpp b/tests/auto/qnetworkreply/tst_qnetworkreply.cpp
index 9cf61f9..cff0ae9 100644
--- a/tests/auto/qnetworkreply/tst_qnetworkreply.cpp
+++ b/tests/auto/qnetworkreply/tst_qnetworkreply.cpp
@@ -336,10 +336,10 @@ private Q_SLOTS:
void parentingRepliesToTheApp();
};
-QT_BEGIN_NAMESPACE
-
bool tst_QNetworkReply::seedCreated = false;
+QT_BEGIN_NAMESPACE
+
namespace QTest {
template<>
char *toString(const QNetworkReply::NetworkError& code)