summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/lowenergyscanner/main.cpp
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2014-07-03 16:18:03 +0200
committerAlex Blasche <alexander.blasche@digia.com>2014-07-15 20:39:40 +0200
commitc39189a922ce7057b410eba12e80abac589712cf (patch)
tree338815352496d1b1e2d0234f8fd81488e6dc84c5 /examples/bluetooth/lowenergyscanner/main.cpp
parent4a52ec355e2b2541d1867f785ef58c8c483b7316 (diff)
Port lowenergyscanner example to new API
Some minor improvements have been incorporated too but the focus is on the port. More code and UI cleanups are required. Change-Id: I56f226b8418b78190d498df04d67686220a3644e Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Diffstat (limited to 'examples/bluetooth/lowenergyscanner/main.cpp')
-rw-r--r--examples/bluetooth/lowenergyscanner/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/bluetooth/lowenergyscanner/main.cpp b/examples/bluetooth/lowenergyscanner/main.cpp
index 89f7153d..ce359545 100644
--- a/examples/bluetooth/lowenergyscanner/main.cpp
+++ b/examples/bluetooth/lowenergyscanner/main.cpp
@@ -1,6 +1,7 @@
/***************************************************************************
**
** Copyright (C) 2013 BlackBerry Limited. All rights reserved.
+** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtBluetooth module of the Qt Toolkit.
@@ -47,10 +48,9 @@
int main(int argc, char *argv[])
{
- QLoggingCategory::setFilterRules(QStringLiteral("qt.bluetooth* = true"));
+ //QLoggingCategory::setFilterRules(QStringLiteral("qt.bluetooth* = true"));
QGuiApplication app(argc, argv);
-
Device d;
QQuickView *view = new QQuickView;
view->rootContext()->setContextProperty("device", &d);