mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-18 04:54:38 +03:00
refactor core
This commit is contained in:
@@ -174,6 +174,9 @@ void MainWindow::speedtest_current() {
|
||||
last_test_time = QTime::currentTime();
|
||||
|
||||
runOnUiThread([=] {
|
||||
if (!result.error().empty()) {
|
||||
MW_show_log(QString("UrlTest error: %1").arg(result.error().c_str()));
|
||||
}
|
||||
if (latency <= 0) {
|
||||
ui->label_running->setText(tr("Test Result") + ": " + tr("Unavailable"));
|
||||
} else if (latency > 0) {
|
||||
|
||||
Reference in New Issue
Block a user