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 descriptorLookup; +namespace { + QHash 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 btDeviceInfo; bool isBluetoothAddress(const QString &address) {