summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Manuel Duclos Vergara <carlos.duclos@nokia.com>2010-03-05 14:59:24 (GMT)
committerCarlos Manuel Duclos Vergara <carlos.duclos@nokia.com>2010-03-05 14:59:58 (GMT)
commit9ce72402149da7cdd3b204e7981b1c810595d699 (patch)
tree609790bb507e72b630d036c732bc56db27c1d712
parentf84112bb06e9a7a65afe9ba20d3419b33aee1e5d (diff)
downloadQt-9ce72402149da7cdd3b204e7981b1c810595d699.zip
Qt-9ce72402149da7cdd3b204e7981b1c810595d699.tar.gz
Qt-9ce72402149da7cdd3b204e7981b1c810595d699.tar.bz2
Fixing compilation error, missing ifdef.
Reviewed-by: Prasanth
-rw-r--r--src/plugins/bearer/corewlan/qcorewlanengine.mm3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/bearer/corewlan/qcorewlanengine.mm b/src/plugins/bearer/corewlan/qcorewlanengine.mm
index 8f174db..9a213e7 100644
--- a/src/plugins/bearer/corewlan/qcorewlanengine.mm
+++ b/src/plugins/bearer/corewlan/qcorewlanengine.mm
@@ -199,9 +199,10 @@ QCoreWlanEngine::~QCoreWlanEngine()
{
while (!foundConfigurations.isEmpty())
delete foundConfigurations.takeFirst();
-
+#if defined(MAC_SDK_10_6)
[listener remove];
[listener release];
+#endif
}
QString QCoreWlanEngine::getInterfaceFromId(const QString &id)