mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Bluetooth: move declaration and make variable file scoped
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
a5416b9bea
commit
2954bc5f22
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue