summaryrefslogtreecommitdiffstats
path: root/core/btdiscovery.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/btdiscovery.cpp')
-rw-r--r--core/btdiscovery.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/btdiscovery.cpp b/core/btdiscovery.cpp
index a13cc7078..e4c17902e 100644
--- a/core/btdiscovery.cpp
+++ b/core/btdiscovery.cpp
@@ -10,6 +10,9 @@
extern QMap<QString, dc_descriptor_t *> descriptorLookup;
+namespace {
+ QHash<QString, QBluetoothDeviceInfo> btDeviceInfo;
+}
BTDiscovery *BTDiscovery::m_instance = NULL;
static dc_descriptor_t *getDeviceType(QString btName)
@@ -298,7 +301,6 @@ bool BTDiscovery::checkException(const char* method, const QAndroidJniObject *ob
}
#endif // Q_OS_ANDROID
-QHash<QString, QBluetoothDeviceInfo> btDeviceInfo;
bool isBluetoothAddress(const QString &address)
{