summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorCristiano di Flora <cristiano.di-flora@nokia.com>2011-02-24 01:23:28 (GMT)
committerCristiano di Flora <cristiano.di-flora@nokia.com>2011-02-24 01:33:51 (GMT)
commitf86e014bb6f2754bfed33106021a809ca8c2ce73 (patch)
tree9506a1074aa6d328cc86ff0c0364008351581495 /src/network
parent37b73d43f798f6de787728bb856f23a9f9df3550 (diff)
downloadQt-f86e014bb6f2754bfed33106021a809ca8c2ce73.zip
Qt-f86e014bb6f2754bfed33106021a809ca8c2ce73.tar.gz
Qt-f86e014bb6f2754bfed33106021a809ca8c2ce73.tar.bz2
Fix QTBUG-17627: build break in mobility bearer applications
Task-Number: QTBUG-17627
Diffstat (limited to 'src/network')
-rw-r--r--src/network/bearer/qnetworksession.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/network/bearer/qnetworksession.h b/src/network/bearer/qnetworksession.h
index e107c62..ee28e64 100644
--- a/src/network/bearer/qnetworksession.h
+++ b/src/network/bearer/qnetworksession.h
@@ -141,13 +141,12 @@ private:
#ifndef QT_MOBILITY_BEARER
QT_END_NAMESPACE
+Q_DECLARE_METATYPE(QNetworkSession::State)
+Q_DECLARE_METATYPE(QNetworkSession::SessionError)
#else
QTM_END_NAMESPACE
#endif
-Q_DECLARE_METATYPE(QNetworkSession::State)
-Q_DECLARE_METATYPE(QNetworkSession::SessionError)
-
QT_END_HEADER
#endif // QT_NO_BEARERMANAGEMENT