refactor core

This commit is contained in:
arm64v8a
2023-03-04 17:25:18 +09:00
parent f66d63b597
commit 5db3a30ab1
47 changed files with 88 additions and 1033 deletions

View File

@@ -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) {