Browse Source

fix for isOnline in getSettings()

pull/146/head
lucretius 3 months ago
parent
commit
4f0229a823
  1. 2
      src/settings.cpp

2
src/settings.cpp

@ -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();
}

Loading…
Cancel
Save