mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 20:44:38 +03:00
3.2
This commit is contained in:
@@ -1 +1 @@
|
||||
3.1-2023-05-17
|
||||
3.2-2023-05-18
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user