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>
This commit is contained in:
Dirk Hohndel 2014-12-28 20:44:31 -08:00
parent 123b104d09
commit 4559a26e31
3 changed files with 4 additions and 5 deletions

View file

@ -9,8 +9,7 @@
#include <QStringList>
#include <QXmlStreamWriter>
ConfigureDiveComputer::ConfigureDiveComputer(QObject *parent) :
QObject(parent),
ConfigureDiveComputer::ConfigureDiveComputer() :
readThread(0),
writeThread(0),
resetThread(0),