mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-28 16:17:28 -04:00
Fix OpMode Restore
This commit is contained in:
parent
034d88c4e2
commit
e63217e7de
2 changed files with 2 additions and 2 deletions
|
@ -190,7 +190,7 @@ void RsInit::InitRsConfig()
|
||||||
rsInitConfig->passwd = "";
|
rsInitConfig->passwd = "";
|
||||||
rsInitConfig->debugLevel = PQL_WARNING;
|
rsInitConfig->debugLevel = PQL_WARNING;
|
||||||
rsInitConfig->udpListenerOnly = false;
|
rsInitConfig->udpListenerOnly = false;
|
||||||
rsInitConfig->opModeStr = std::string("FULL");
|
rsInitConfig->opModeStr = std::string("");
|
||||||
|
|
||||||
/* setup the homePath (default save location) */
|
/* setup the homePath (default save location) */
|
||||||
// rsInitConfig->homePath = getHomePath();
|
// rsInitConfig->homePath = getHomePath();
|
||||||
|
|
|
@ -1478,7 +1478,7 @@ void MainWindow::processLastArgs()
|
||||||
opModeStatus->setCurrentIndex(RS_OPMODE_GAMING - 1);
|
opModeStatus->setCurrentIndex(RS_OPMODE_GAMING - 1);
|
||||||
} else if (opmode == "minimal") {
|
} else if (opmode == "minimal") {
|
||||||
opModeStatus->setCurrentIndex(RS_OPMODE_MINIMAL - 1);
|
opModeStatus->setCurrentIndex(RS_OPMODE_MINIMAL - 1);
|
||||||
} else {
|
} else if (opmode != "") {
|
||||||
opModeStatus->setCurrentIndex(RS_OPMODE_FULL - 1);
|
opModeStatus->setCurrentIndex(RS_OPMODE_FULL - 1);
|
||||||
}
|
}
|
||||||
opModeStatus->setOpMode();
|
opModeStatus->setOpMode();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue