summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/heartrate-game/main.cpp
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@qt.io>2018-08-30 10:20:01 +0200
committerAlex Blasche <alexander.blasche@qt.io>2018-09-05 06:53:19 +0000
commita1e00ab195e879724efb0c03be8c06ddb6799fac (patch)
tree786861bfed6350d4ecdc7e1c72713fc02295c732 /examples/bluetooth/heartrate-game/main.cpp
parent68475e563d8a19f521278703a3e98c7664d6bbbc (diff)
Fix a few clazy/clang warnings in HeartRate Game example
Change-Id: I2a7b8c403ca466998ddcbd8496c31feb9856f0ad Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'examples/bluetooth/heartrate-game/main.cpp')
-rw-r--r--examples/bluetooth/heartrate-game/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/bluetooth/heartrate-game/main.cpp b/examples/bluetooth/heartrate-game/main.cpp
index 33760e9d..099f82a7 100644
--- a/examples/bluetooth/heartrate-game/main.cpp
+++ b/examples/bluetooth/heartrate-game/main.cpp
@@ -49,9 +49,9 @@
****************************************************************************/
#include <QGuiApplication>
+#include <QLoggingCategory>
#include <QQmlApplicationEngine>
#include <QQmlContext>
-#include <QtCore/QLoggingCategory>
#include "connectionhandler.h"
#include "devicefinder.h"
@@ -59,7 +59,7 @@
int main(int argc, char *argv[])
{
- //QLoggingCategory::setFilterRules(QStringLiteral("qt.bluetooth* = true"));
+ QLoggingCategory::setFilterRules(QStringLiteral("qt.bluetooth* = true"));
QGuiApplication app(argc, argv);
ConnectionHandler connectionHandler;