summaryrefslogtreecommitdiffstats
path: root/src/plugins/bearer/generic
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/generic
parent7858758772ad01e6a772cb048e4f1eda7f4ec9c3 (diff)
downloadQt-b22d0a9c4d6e3309287aefdc1a300e2fc566c2c7.zip
Qt-b22d0a9c4d6e3309287aefdc1a300e2fc566c2c7.tar.gz
Qt-b22d0a9c4d6e3309287aefdc1a300e2fc566c2c7.tar.bz2
Remove unused global statics.
Diffstat (limited to 'src/plugins/bearer/generic')
-rw-r--r--src/plugins/bearer/generic/qgenericengine.cpp7
-rw-r--r--src/plugins/bearer/generic/qgenericengine.h2
2 files changed, 0 insertions, 9 deletions
diff --git a/src/plugins/bearer/generic/qgenericengine.cpp b/src/plugins/bearer/generic/qgenericengine.cpp
index 339ef9c..0d9a958 100644
--- a/src/plugins/bearer/generic/qgenericengine.cpp
+++ b/src/plugins/bearer/generic/qgenericengine.cpp
@@ -56,8 +56,6 @@
QT_BEGIN_NAMESPACE
-Q_GLOBAL_STATIC(QGenericEngine, genericEngine)
-
static QString qGetInterfaceType(const QString &interface)
{
#ifdef Q_OS_WIN32
@@ -170,11 +168,6 @@ void QGenericEngine::requestUpdate()
QTimer::singleShot(0, this, SLOT(doRequestUpdate()));
}
-QGenericEngine *QGenericEngine::instance()
-{
- return genericEngine();
-}
-
void QGenericEngine::doRequestUpdate()
{
// Immediately after connecting with a wireless access point
diff --git a/src/plugins/bearer/generic/qgenericengine.h b/src/plugins/bearer/generic/qgenericengine.h
index 9359d7f..a671ceb 100644
--- a/src/plugins/bearer/generic/qgenericengine.h
+++ b/src/plugins/bearer/generic/qgenericengine.h
@@ -71,8 +71,6 @@ public:
QNetworkSession::State sessionStateForId(const QString &id);
- static QGenericEngine *instance();
-
private Q_SLOTS:
void doRequestUpdate();