aboutsummaryrefslogtreecommitdiffstats
path: root/configuredivecomputer.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-28 20:44:31 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-28 20:46:44 -0800
commit4559a26e316931695f892b205257979f0ea13afa (patch)
tree9389a450c91bc70b8178864d59e303b6303c8b75 /configuredivecomputer.h
parent123b104d090ecaa097b6f56e1451f5b8dcb5d705 (diff)
downloadsubsurface-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.h')
-rw-r--r--configuredivecomputer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/configuredivecomputer.h b/configuredivecomputer.h
index 59340335d..66a9bf5f5 100644
--- a/configuredivecomputer.h
+++ b/configuredivecomputer.h
@@ -14,7 +14,7 @@ class ConfigureDiveComputer : public QObject
{
Q_OBJECT
public:
- explicit ConfigureDiveComputer(QObject *parent = 0);
+ explicit ConfigureDiveComputer();
void readSettings(device_data_t *data);
enum states {