summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCristiano di Flora <cristiano.di-flora@nokia.com>2011-02-24 01:23:28 (GMT)
committerTimo Turunen <timo.p.turunen@nokia.com>2011-03-11 14:23:20 (GMT)
commit71acbd0ff1c926c9a508b879f0ca365d17cc4987 (patch)
tree98d47e4496494995f8e80bd11182baa2f64a49c3
parent0e32d0575aa92b6d92999fa661d36fd40c1fee66 (diff)
downloadQt-71acbd0ff1c926c9a508b879f0ca365d17cc4987.zip
Qt-71acbd0ff1c926c9a508b879f0ca365d17cc4987.tar.gz
Qt-71acbd0ff1c926c9a508b879f0ca365d17cc4987.tar.bz2
Fix QTBUG-17627: build break in mobility bearer applications
Task-Number: QTBUG-17627 (cherry picked from commit f86e014bb6f2754bfed33106021a809ca8c2ce73)
-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 52db88f..e491d50 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