summaryrefslogtreecommitdiffstats
path: root/src/plugins/bearer/qnetworksession_impl.cpp
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@nokia.com>2010-04-15 15:59:08 +1000
committerAaron McCarthy <aaron.mccarthy@nokia.com>2010-04-15 15:59:08 +1000
commit3925bab16a88822fcef749cb6ba7c542688c2fae (patch)
treed1aa68416cf61baef54b787dc53ad3ad52bd78a1 /src/plugins/bearer/qnetworksession_impl.cpp
parent86b483104fa1e8c1b2bcd255f9b94992d1d1b864 (diff)
Introduce a qconfig feature for Bearer Management
Merge-request: 517 Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
Diffstat (limited to 'src/plugins/bearer/qnetworksession_impl.cpp')
-rw-r--r--src/plugins/bearer/qnetworksession_impl.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/bearer/qnetworksession_impl.cpp b/src/plugins/bearer/qnetworksession_impl.cpp
index 33cce6922a..ef5f347d9e 100644
--- a/src/plugins/bearer/qnetworksession_impl.cpp
+++ b/src/plugins/bearer/qnetworksession_impl.cpp
@@ -49,6 +49,8 @@
#include <QtCore/qdebug.h>
#include <QtCore/qmutex.h>
+#ifndef QT_NO_BEARERMANAGEMENT
+
QT_BEGIN_NAMESPACE
static QBearerEngineImpl *getEngineFromId(const QString &id)
@@ -439,3 +441,6 @@ void QNetworkSessionPrivateImpl::decrementTimeout()
}
QT_END_NAMESPACE
+
+#endif // QT_NO_BEARERMANAGEMENT
+