summaryrefslogtreecommitdiffstats
path: root/src/plugins/bearer/nativewifi/main.cpp
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2010-04-15 07:01:12 (GMT)
committerAaron McCarthy <aaron.mccarthy@nokia.com>2010-04-15 07:01:12 (GMT)
commit6e189eb28161f2d09e0c71ecd590b7ccfd82321c (patch)
tree635377ded015a9252a54b1940051e636d83ab675 /src/plugins/bearer/nativewifi/main.cpp
parent3925bab16a88822fcef749cb6ba7c542688c2fae (diff)
downloadQt-6e189eb28161f2d09e0c71ecd590b7ccfd82321c.zip
Qt-6e189eb28161f2d09e0c71ecd590b7ccfd82321c.tar.gz
Qt-6e189eb28161f2d09e0c71ecd590b7ccfd82321c.tar.bz2
Add missing QT_NO_BEARERMANAGEMENT ifdefs.
This add addition ifdefs around code missed by MR 517.
Diffstat (limited to 'src/plugins/bearer/nativewifi/main.cpp')
-rw-r--r--src/plugins/bearer/nativewifi/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/bearer/nativewifi/main.cpp b/src/plugins/bearer/nativewifi/main.cpp
index d77462e..98789aa 100644
--- a/src/plugins/bearer/nativewifi/main.cpp
+++ b/src/plugins/bearer/nativewifi/main.cpp
@@ -50,6 +50,8 @@
#include <QtCore/qdebug.h>
+#ifndef QT_NO_BEARERMANAGEMENT
+
QT_BEGIN_NAMESPACE
static void resolveLibrary()
@@ -137,3 +139,5 @@ Q_EXPORT_STATIC_PLUGIN(QNativeWifiEnginePlugin)
Q_EXPORT_PLUGIN2(qnativewifibearer, QNativeWifiEnginePlugin)
QT_END_NAMESPACE
+
+#endif // QT_NO_BEARERMANAGEMENT