summaryrefslogtreecommitdiffstats
path: root/src/speedcheck.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/speedcheck.cpp')
-rw-r--r--src/speedcheck.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/speedcheck.cpp b/src/speedcheck.cpp
index 344be46..19e2030 100644
--- a/src/speedcheck.cpp
+++ b/src/speedcheck.cpp
@@ -61,6 +61,7 @@ void SpeedCheck::startClicked(bool)
_ui->btnselect->setDisabled(true);
_ui->comboBox->setDisabled(true);
_ui->btnrefreshNetwork->setDisabled(true);
+ _ui->menuBar->setEnabled(false);
delete _thread;
_thread = new CopyThread(file, this);
connect(_thread, SIGNAL(logMessage(QString)), this, SLOT(logMessage(QString)), Qt::QueuedConnection);
@@ -91,6 +92,7 @@ void SpeedCheck::testFinished()
_ui->btnselect->setEnabled(true);
_ui->comboBox->setEnabled(true);
_ui->btnrefreshNetwork->setEnabled(true);
+ _ui->menuBar->setEnabled(true);
quitClicked(true);
// TODO start next test if available
}
@@ -143,7 +145,6 @@ void SpeedCheck::updateTimer()
_ui->picSpeed->readNextValue();
}
void SpeedCheck::addServerClicked(bool) {
- QWidget *wdg = new AddServer();
- wdg->show();
- logMessage("Hi");
+ QWidget *window = new AddServer;
+ window->show();
}