mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Bluetooth: turn on logging earlier
This way we should get logging output for the discovery phase as well. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
fbc4b2ac72
commit
7c320854b3
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
#include "core/libdivecomputer.h"
|
||||
#include <QTimer>
|
||||
#include <QDebug>
|
||||
#include <QLoggingCategory>
|
||||
|
||||
extern QMap<QString, dc_descriptor_t *> descriptorLookup;
|
||||
|
||||
|
@ -78,6 +79,7 @@ BTDiscovery::BTDiscovery(QObject*) : m_btValid(false),
|
|||
}
|
||||
m_instance = this;
|
||||
#if defined(BT_SUPPORT)
|
||||
QLoggingCategory::setFilterRules(QStringLiteral("qt.bluetooth* = true"));
|
||||
BTDiscoveryReDiscover();
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue