mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-19 13:50:12 +08:00
3.2
This commit is contained in:
parent
ae4602ed9f
commit
7471f3354f
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user