summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/heartrate-game
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2020-06-24 09:38:55 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2020-06-25 10:06:14 +0200
commitfba18bb44a02a58794d3be8e49bddcffbd614f94 (patch)
treeee6eed2bf3491e46022c502005356ea22d6271ad /examples/bluetooth/heartrate-game
parent73c52b16bd087862e403abebb718862c2662345c (diff)
Use QList instead of QVector
Task-number: QTBUG-84469 Change-Id: I2b51afeae462d051a3d62dc34ab8c6a63276853c Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'examples/bluetooth/heartrate-game')
-rw-r--r--examples/bluetooth/heartrate-game/devicehandler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/bluetooth/heartrate-game/devicehandler.h b/examples/bluetooth/heartrate-game/devicehandler.h
index 4fa2782b..e8305f73 100644
--- a/examples/bluetooth/heartrate-game/devicehandler.h
+++ b/examples/bluetooth/heartrate-game/devicehandler.h
@@ -54,8 +54,8 @@
#include "bluetoothbaseclass.h"
#include <QDateTime>
+#include <QList>
#include <QTimer>
-#include <QVector>
#include <QLowEnergyController>
#include <QLowEnergyService>
@@ -142,7 +142,7 @@ private:
QDateTime m_start;
QDateTime m_stop;
- QVector<int> m_measurements;
+ QList<int> m_measurements;
QLowEnergyController::RemoteAddressType m_addressType = QLowEnergyController::PublicAddress;
#ifdef SIMULATOR