mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Use waitFor instead of timer
See e79bede0aa
. We rather use wait in combination
with spinning the event loop.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
parent
f6768cedf3
commit
6031692a39
2 changed files with 4 additions and 8 deletions
|
@ -36,7 +36,6 @@ private:
|
|||
|
||||
QLowEnergyController *controller = nullptr;
|
||||
QList<QByteArray> receivedPackets;
|
||||
QEventLoop waitForPacket;
|
||||
bool isCharacteristicWritten;
|
||||
dc_user_device_t *device;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue