From 702d5b44c9970c71b7451472dda6cba7282c2a9f Mon Sep 17 00:00:00 2001 From: Testman Date: Mon, 2 Jul 2018 01:12:26 +0200 Subject: [PATCH] Rename "loglevel" to "logLevel" Which should make server browser and not crash the client. --- apps/browser/Settings.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/browser/Settings.cpp b/apps/browser/Settings.cpp index a298a613e..e85948d40 100644 --- a/apps/browser/Settings.cpp +++ b/apps/browser/Settings.cpp @@ -86,7 +86,7 @@ void SettingsMgr::loadClientSettings(Ui::MainWindow &mw) mw.leClientAddress->setText(QString::fromStdString(clientMgr.getString("destinationAddress", "General"))); mw.leClientPort->setText(QString::fromStdString(clientMgr.getString("port", "General"))); mw.leClientPassword->setText(QString::fromStdString(clientMgr.getString("password", "General"))); - mw.combLoglevel->setCurrentIndex(clientMgr.getInt("loglevel", "General")); + mw.combLoglevel->setCurrentIndex(clientMgr.getInt("logLevel", "General")); mw.leClientMAddress->setText(QString::fromStdString(clientMgr.getString("address", "Master"))); mw.leClientMPort->setText(QString::fromStdString(clientMgr.getString("port", "Master"))); @@ -107,7 +107,7 @@ void SettingsMgr::saveClientSettings(Ui::MainWindow &mw) clientMgr.setString("destinationAddress", "General", mw.leClientAddress->text().toStdString()); clientMgr.setString("port", "General", mw.leClientPort->text().toStdString()); clientMgr.setString("password", "General", mw.leClientPassword->text().toStdString()); - clientMgr.setInt("loglevel", "General", mw.combLoglevel->currentIndex()); + clientMgr.setInt("logLevel", "General", mw.combLoglevel->currentIndex()); clientMgr.setString("address", "Master", mw.leClientMAddress->text().toStdString()); clientMgr.setString("port", "Master", mw.leClientMPort->text().toStdString());