summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@nokia.com>2010-03-23 02:42:55 (GMT)
committerLorn Potter <lorn.potter@nokia.com>2010-03-23 02:42:55 (GMT)
commit3fa7e7d082de97abfb50d28f25f22185deabd82d (patch)
tree2bb06af351dda22b8b7514fd75acaad84b06088c /src/plugins
parent954bb17f9033eee11aec4501fb5a1d382cebe378 (diff)
downloadQt-3fa7e7d082de97abfb50d28f25f22185deabd82d.zip
Qt-3fa7e7d082de97abfb50d28f25f22185deabd82d.tar.gz
Qt-3fa7e7d082de97abfb50d28f25f22185deabd82d.tar.bz2
get rid of build warning messages
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/bearer/corewlan/qcorewlanengine.mm8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/plugins/bearer/corewlan/qcorewlanengine.mm b/src/plugins/bearer/corewlan/qcorewlanengine.mm
index 449edbd..5a13de9 100644
--- a/src/plugins/bearer/corewlan/qcorewlanengine.mm
+++ b/src/plugins/bearer/corewlan/qcorewlanengine.mm
@@ -84,6 +84,8 @@ QMap <QString, QString> networkInterfaces;
@end
@implementation QNSListener
+@synthesize engine;
+
- (id) init
{
[locker lock];
@@ -126,12 +128,6 @@ QNSListener *listener = 0;
QT_BEGIN_NAMESPACE
-
-static QString qGetInterfaceType(const QString &interfaceString)
-{
- return networkInterfaces.value(interfaceString, QLatin1String("WLAN"));
-}
-
void networkChangeCallback(SCDynamicStoreRef/* store*/, CFArrayRef changedKeys, void *info)
{
for ( long i = 0; i < CFArrayGetCount(changedKeys); i++) {