summaryrefslogtreecommitdiffstats
path: root/src/speedcheck.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/speedcheck.cpp')
-rw-r--r--src/speedcheck.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/speedcheck.cpp b/src/speedcheck.cpp
index 428be75..1248323 100644
--- a/src/speedcheck.cpp
+++ b/src/speedcheck.cpp
@@ -3,6 +3,7 @@
#include "copythread.h"
#include "datasource/cpuload.h"
#include "datasource/networkspeed.h"
+#include "copythread.h"
#include <QCoreApplication>
#include <QMessageBox>
@@ -22,7 +23,6 @@ SpeedCheck::SpeedCheck(QString fileName, bool autoStart)
_timer.setInterval(200);
connect(&_timer, SIGNAL(timeout()), this, SLOT(updateTimer()));
if (autoStart) {
- _doQuit = true;
QTimer::singleShot(1, [this]() {
this->startClicked(true);
});
@@ -34,7 +34,7 @@ SpeedCheck::~SpeedCheck()
}
-void SpeedCheck::logMessage(QString message)
+void SpeedCheck::logMessage(CopyThread::LogMessageId, QString message)
{
qDebug() << message;
_ui->statusBar->showMessage(message);