summaryrefslogtreecommitdiffstats
path: root/src/plugins/bearer/corewlan
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2009-12-10 06:57:42 (GMT)
committerAaron McCarthy <aaron.mccarthy@nokia.com>2010-01-04 01:11:05 (GMT)
commitb22d0a9c4d6e3309287aefdc1a300e2fc566c2c7 (patch)
treede6a84d5a89cb885adc11eedc156418159ac60bf /src/plugins/bearer/corewlan
parent7858758772ad01e6a772cb048e4f1eda7f4ec9c3 (diff)
downloadQt-b22d0a9c4d6e3309287aefdc1a300e2fc566c2c7.zip
Qt-b22d0a9c4d6e3309287aefdc1a300e2fc566c2c7.tar.gz
Qt-b22d0a9c4d6e3309287aefdc1a300e2fc566c2c7.tar.bz2
Remove unused global statics.
Diffstat (limited to 'src/plugins/bearer/corewlan')
-rw-r--r--src/plugins/bearer/corewlan/qcorewlanengine.h1
-rw-r--r--src/plugins/bearer/corewlan/qcorewlanengine.mm7
2 files changed, 0 insertions, 8 deletions
diff --git a/src/plugins/bearer/corewlan/qcorewlanengine.h b/src/plugins/bearer/corewlan/qcorewlanengine.h
index 7ccfeea..2be81d1 100644
--- a/src/plugins/bearer/corewlan/qcorewlanengine.h
+++ b/src/plugins/bearer/corewlan/qcorewlanengine.h
@@ -70,7 +70,6 @@ public:
void requestUpdate();
- static QCoreWlanEngine *instance();
static bool getAllScInterfaces();
private:
diff --git a/src/plugins/bearer/corewlan/qcorewlanengine.mm b/src/plugins/bearer/corewlan/qcorewlanengine.mm
index 9dea217..c6ea56a 100644
--- a/src/plugins/bearer/corewlan/qcorewlanengine.mm
+++ b/src/plugins/bearer/corewlan/qcorewlanengine.mm
@@ -66,8 +66,6 @@ QMap <QString, QString> networkInterfaces;
QT_BEGIN_NAMESPACE
-Q_GLOBAL_STATIC(QCoreWlanEngine, coreWlanEngine)
-
inline QString cfstringRefToQstring(CFStringRef cfStringRef) {
// return QString([cfStringRef UTF8String]);
QString retVal;
@@ -310,11 +308,6 @@ void QCoreWlanEngine::requestUpdate()
emit configurationsChanged();
}
-QCoreWlanEngine *QCoreWlanEngine::instance()
-{
- return coreWlanEngine();
-}
-
QList<QNetworkConfigurationPrivate *> QCoreWlanEngine::scanForSsids(const QString &interfaceName)
{
QList<QNetworkConfigurationPrivate *> foundConfigs;