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
@ -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…
x
Reference in New Issue
Block a user