fix for isOnline in getSettings()
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user