summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/lowenergyscanner/deviceinfo.h
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@qt.io>2018-08-22 12:10:21 +0200
committerAlex Blasche <alexander.blasche@qt.io>2018-08-24 05:44:13 +0000
commit89e92af7948cde05bbb07a082835344f3f3adb4e (patch)
tree92a51d79b8101609b1dd56f9583a5b4d07762313 /examples/bluetooth/lowenergyscanner/deviceinfo.h
parent4a20dda27259fad1468370860162b8f22ca53072 (diff)
Cleanup lowenergyscanner example with clang tidy and clazy help
Change-Id: Iaaf169b1ac9b3d4c348d9cabf737b395198a921f Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'examples/bluetooth/lowenergyscanner/deviceinfo.h')
-rw-r--r--examples/bluetooth/lowenergyscanner/deviceinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/bluetooth/lowenergyscanner/deviceinfo.h b/examples/bluetooth/lowenergyscanner/deviceinfo.h
index 8b20fa76..249afad2 100644
--- a/examples/bluetooth/lowenergyscanner/deviceinfo.h
+++ b/examples/bluetooth/lowenergyscanner/deviceinfo.h
@@ -64,7 +64,7 @@ class DeviceInfo: public QObject
Q_PROPERTY(QString deviceName READ getName NOTIFY deviceChanged)
Q_PROPERTY(QString deviceAddress READ getAddress NOTIFY deviceChanged)
public:
- DeviceInfo();
+ DeviceInfo() = default;
DeviceInfo(const QBluetoothDeviceInfo &d);
QString getAddress() const;
QString getName() const;