summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2014-03-14 15:59:26 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-15 20:59:25 +0100
commit8ba83c809febcc38d72f69d8ca206ba5402e5f4d (patch)
tree0b92b792f65cba44582339167e673094be2a57cb /examples
parent946db397b2cbbaca7880a804dac6aa3b2dddd87f (diff)
Cleanup of BtLE code
1.) Remove dead pieces of code 2.) Fix warnings 3.) Optimize some code lines Change-Id: I952fe34e8966a501a54c9ef42e9624c1fc46a2a1 Reviewed-by: Nedim Hadzic <nhadzic@blackberry.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/bluetooth/lowenergyscanner/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/bluetooth/lowenergyscanner/main.cpp b/examples/bluetooth/lowenergyscanner/main.cpp
index 1a8487c8..89f7153d 100644
--- a/examples/bluetooth/lowenergyscanner/main.cpp
+++ b/examples/bluetooth/lowenergyscanner/main.cpp
@@ -38,6 +38,7 @@
**
****************************************************************************/
+#include <QtCore/QLoggingCategory>
#include <QQmlContext>
#include <QGuiApplication>
#include <QQuickView>
@@ -46,6 +47,7 @@
int main(int argc, char *argv[])
{
+ QLoggingCategory::setFilterRules(QStringLiteral("qt.bluetooth* = true"));
QGuiApplication app(argc, argv);