diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-12-28 20:44:31 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-12-28 20:46:44 -0800 |
commit | 4559a26e316931695f892b205257979f0ea13afa (patch) | |
tree | 9389a450c91bc70b8178864d59e303b6303c8b75 /configuredivecomputer.cpp | |
parent | 123b104d090ecaa097b6f56e1451f5b8dcb5d705 (diff) | |
download | subsurface-4559a26e316931695f892b205257979f0ea13afa.tar.gz |
Fix ConfigureDiveComputer class
This caused a crash when trying to call the firmware upgrade from the
downloader - no idea how this worked for the other caller (from the main
menu).
Anyway, with this the "offer to upgrade the OSTC after a download from an
OSTC that doesn't have the latest version" is indeed functional.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'configuredivecomputer.cpp')
-rw-r--r-- | configuredivecomputer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/configuredivecomputer.cpp b/configuredivecomputer.cpp index 769189b26..3364d92be 100644 --- a/configuredivecomputer.cpp +++ b/configuredivecomputer.cpp @@ -9,8 +9,7 @@ #include <QStringList> #include <QXmlStreamWriter> -ConfigureDiveComputer::ConfigureDiveComputer(QObject *parent) : - QObject(parent), +ConfigureDiveComputer::ConfigureDiveComputer() : readThread(0), writeThread(0), resetThread(0), |