Skip to content

Commit

Permalink
3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
arm64v8a committed May 18, 2023
1 parent ae4602e commit 7471f33
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion nekoray_version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1-2023-05-17
3.2-2023-05-18
10 changes: 10 additions & 0 deletions ui/mainwindow_grpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7471f33

Please sign in to comment.