diff options
-rw-r--r-- | core/btdiscovery.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/btdiscovery.cpp b/core/btdiscovery.cpp index d2da238c6..d938aca70 100644 --- a/core/btdiscovery.cpp +++ b/core/btdiscovery.cpp @@ -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 } |