Bluetooth: move declaration and make variable file scoped

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2018-09-25 19:59:27 -07:00
parent a5416b9bea
commit 2954bc5f22

View file

@ -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)
{