diff options
author | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2009-12-10 06:57:42 (GMT) |
---|---|---|
committer | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-01-04 01:11:05 (GMT) |
commit | b22d0a9c4d6e3309287aefdc1a300e2fc566c2c7 (patch) | |
tree | de6a84d5a89cb885adc11eedc156418159ac60bf /src/plugins/bearer/generic | |
parent | 7858758772ad01e6a772cb048e4f1eda7f4ec9c3 (diff) | |
download | Qt-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.cpp | 7 | ||||
-rw-r--r-- | src/plugins/bearer/generic/qgenericengine.h | 2 |
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(); |