This commit is contained in:
arm64v8a
2023-05-18 16:37:42 +09:00
parent ae4602ed9f
commit 7471f3354f
2 changed files with 11 additions and 1 deletions

View File

@@ -1 +1 @@
3.1-2023-05-17
3.2-2023-05-18

View File

@@ -178,6 +178,16 @@ void MainWindow::speedtest_current() {
} else if (latency > 0) {
ui->label_running->setText(tr("Test Result") + ": " + QString("%1 ms").arg(latency));
}
//
auto t = new QTimer(this);
connect(t, &QTimer::timeout, this, [=] {
last_test_time = QTime();
refresh_status();
t->deleteLater();
});
t->setInterval(1000);
t->setSingleShot(true);
t->start();
});
});
#endif