aboutsummaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
authorGravatar Claudiu Olteanu <olteanu.claudiu@ymail.com>2015-07-06 17:11:02 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-06 08:38:12 -0700
commit14e071e8d8b91f71c1f1acb97b66ed2340475c0b (patch)
tree4a45b509350e10c46bde4b470c0a6d07957f71c6 /main.cpp
parent198cc419596dbd17f65124d0495e98fb7acf81c2 (diff)
downloadsubsurface-14e071e8d8b91f71c1f1acb97b66ed2340475c0b.tar.gz
Add extra logs for custom serial Bluetooth implementation
This patch increases the verbosity level for QtBluetooth API and add some extra logs for custom serial Bluetooth open method. The scope of this patch is only for testing. Signed-off-by: Claudiu Olteanu <olteanu.claudiu@ymail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index b05b8022a..747d2b27d 100644
--- a/main.cpp
+++ b/main.cpp
@@ -15,6 +15,7 @@
#include <QStringList>
#include <QApplication>
+#include <QLoggingCategory>
#include <git2.h>
QTranslator *qtTranslator, *ssrfTranslator;
@@ -23,7 +24,7 @@ int main(int argc, char **argv)
{
int i;
bool no_filenames = true;
-
+ QLoggingCategory::setFilterRules(QStringLiteral("qt.bluetooth* = true"));
QApplication *application = new QApplication(argc, argv);
QStringList files;
QStringList importedFiles;