summaryrefslogtreecommitdiffstats
path: root/core/qt-ble.h
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2017-07-03 20:56:44 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-04 23:46:07 +0900
commit6031692a39820c0b5466d558e913272edabeb92a (patch)
treeaf9a6915cc6a0763d9ae97cf4cf1ab6c571a2179 /core/qt-ble.h
parentf6768cedf3f0e05e125bca11ff31c2361d2e880c (diff)
downloadsubsurface-6031692a39820c0b5466d558e913272edabeb92a.tar.gz
Use waitFor instead of timer
See e79bede0aa5b3bd. We rather use wait in combination with spinning the event loop. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'core/qt-ble.h')
-rw-r--r--core/qt-ble.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/qt-ble.h b/core/qt-ble.h
index 34c726bb2..6f63870a6 100644
--- a/core/qt-ble.h
+++ b/core/qt-ble.h
@@ -36,7 +36,6 @@ private:
QLowEnergyController *controller = nullptr;
QList<QByteArray> receivedPackets;
- QEventLoop waitForPacket;
bool isCharacteristicWritten;
dc_user_device_t *device;