diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2017-11-13 23:41:11 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-11-13 20:44:26 -0800 |
commit | 38b1b7d951d3586f16761964aee6f2876e80b117 (patch) | |
tree | 31c5104edd5093b8c9a2c4f954ffdffadccefe9e /profile-widget | |
parent | 8adcc826560a7163777066540513cbdf622e3add (diff) | |
download | subsurface-38b1b7d951d3586f16761964aee6f2876e80b117.tar.gz |
Better error message on BLE connection timeout
On BLE connection timeout a weird error-message was shown, because
the controller was still in connecting state and no error string was
set. Therefore, handle the timeout case with a special case label.
Moreover, remove three unnecessary calls to disconnectFromDevice(),
which is called in the destructor of the controller anyway (verified
by looking at Qt source).
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'profile-widget')
0 files changed, 0 insertions, 0 deletions