fix for isOnline in getSettings()

This commit is contained in:
lucretius
2024-01-24 13:27:42 +01:00
parent 683718008c
commit 4f0229a823

View File

@@ -40,7 +40,7 @@ Config Settings::getSettings() {
bool isOnline = false;
// make sure existing server in conf is alive, otherwise choose random one
try {
bool isOnline = litelib_check_server_online(server.toStdString().c_str());
isOnline = litelib_check_server_online(server.toStdString().c_str());
} catch (const std::exception& e) {
qDebug() << __func__ << ": caught an exception, ignoring: " << e.what();
}