forked from mirror/openmw-tes3mp
Rename "loglevel" to "logLevel"
Which should make server browser and not crash the client.
This commit is contained in:
parent
8b482e19ec
commit
702d5b44c9
1 changed files with 2 additions and 2 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue