From ac207ee5ff60794c477d6d96c81645c4fc5b1994 Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Sun, 7 Dec 2014 23:32:08 +0100 Subject: Emit the successful message the right way The successful message was emitted in a some what older way then the other messages so it was always emitted, even on error. Signed-off-by: Anton Lundin Signed-off-by: Dirk Hohndel --- qt-ui/configuredivecomputerdialog.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'qt-ui/configuredivecomputerdialog.cpp') diff --git a/qt-ui/configuredivecomputerdialog.cpp b/qt-ui/configuredivecomputerdialog.cpp index 4b6649959..734952003 100644 --- a/qt-ui/configuredivecomputerdialog.cpp +++ b/qt-ui/configuredivecomputerdialog.cpp @@ -111,7 +111,6 @@ ConfigureDiveComputerDialog::ConfigureDiveComputerDialog(QWidget *parent) : config = new ConfigureDiveComputer(this); connect(config, SIGNAL(error(QString)), this, SLOT(configError(QString))); connect(config, SIGNAL(message(QString)), this, SLOT(configMessage(QString))); - connect(config, SIGNAL(readFinished()), this, SLOT(deviceReadFinished())); connect(config, SIGNAL(deviceDetailsChanged(DeviceDetails*)), this, SLOT(deviceDetailsReceived(DeviceDetails*))); connect(ui.retrieveDetails, SIGNAL(clicked()), this, SLOT(readSettings())); @@ -616,11 +615,6 @@ void ConfigureDiveComputerDialog::on_cancel_clicked() this->close(); } -void ConfigureDiveComputerDialog::deviceReadFinished() -{ - ui.statusLabel->setText(tr("Dive computer details read successfully.")); -} - void ConfigureDiveComputerDialog::on_saveSettingsPushButton_clicked() { populateDeviceDetails(); -- cgit v1.2.3-70-g09d2