summaryrefslogtreecommitdiffstats
path: root/src/speedcheck.cpp
diff options
context:
space:
mode:
authorSimon Rettberg2022-06-22 16:44:30 +0200
committerSimon Rettberg2022-06-22 16:44:30 +0200
commit880fbb84acf853be8ac0c5a23ff0475e8ce6dff0 (patch)
tree5869e19b02f5698ed7c47cf9a8240fc46e37bc71 /src/speedcheck.cpp
parentSet maximum to ~120MB/s, about matches theoretical maximum of GBit NIC (diff)
downloadspeedcheck-880fbb84acf853be8ac0c5a23ff0475e8ce6dff0.tar.gz
speedcheck-880fbb84acf853be8ac0c5a23ff0475e8ce6dff0.tar.xz
speedcheck-880fbb84acf853be8ac0c5a23ff0475e8ce6dff0.zip
Add --console mode, to be used remotely
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);