forked from mirror/openmw-tes3mp
Merge pull request #455 from testman42/patch-1
Rename "loglevel" to "logLevel"
This commit is contained in:
commit
dbd6ccaf97
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.leClientAddress->setText(QString::fromStdString(clientMgr.getString("destinationAddress", "General")));
|
||||||
mw.leClientPort->setText(QString::fromStdString(clientMgr.getString("port", "General")));
|
mw.leClientPort->setText(QString::fromStdString(clientMgr.getString("port", "General")));
|
||||||
mw.leClientPassword->setText(QString::fromStdString(clientMgr.getString("password", "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.leClientMAddress->setText(QString::fromStdString(clientMgr.getString("address", "Master")));
|
||||||
mw.leClientMPort->setText(QString::fromStdString(clientMgr.getString("port", "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("destinationAddress", "General", mw.leClientAddress->text().toStdString());
|
||||||
clientMgr.setString("port", "General", mw.leClientPort->text().toStdString());
|
clientMgr.setString("port", "General", mw.leClientPort->text().toStdString());
|
||||||
clientMgr.setString("password", "General", mw.leClientPassword->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("address", "Master", mw.leClientMAddress->text().toStdString());
|
||||||
clientMgr.setString("port", "Master", mw.leClientMPort->text().toStdString());
|
clientMgr.setString("port", "Master", mw.leClientMPort->text().toStdString());
|
||||||
|
|
Loading…
Reference in a new issue