diff options
author | Adrian Frühwirth | 2018-05-22 16:03:56 +0200 |
---|---|---|
committer | Adrian Frühwirth | 2018-05-24 15:30:55 +0200 |
commit | cee4d6b8531453c9db921bb987be88995ce86586 (patch) | |
tree | 144d1ae98d26235227393c6f0e1c332f32b21a40 /gui/editgamedialog.cpp | |
parent | bc949250de1fda6b47b99facbdf0c349835b1f53 (diff) | |
download | scummvm-rg350-cee4d6b8531453c9db921bb987be88995ce86586.tar.gz scummvm-rg350-cee4d6b8531453c9db921bb987be88995ce86586.tar.bz2 scummvm-rg350-cee4d6b8531453c9db921bb987be88995ce86586.zip |
JANITORIAL: Fix trailing whitespace
Diffstat (limited to 'gui/editgamedialog.cpp')
-rw-r--r-- | gui/editgamedialog.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gui/editgamedialog.cpp b/gui/editgamedialog.cpp index 4192c4058a..fa0d3fac9b 100644 --- a/gui/editgamedialog.cpp +++ b/gui/editgamedialog.cpp @@ -384,35 +384,35 @@ void EditGameDialog::open() { void EditGameDialog::apply() { ConfMan.set("description", _descriptionWidget->getEditString(), _domain); - + Common::Language lang = (Common::Language)_langPopUp->getSelectedTag(); if (lang < 0) ConfMan.removeKey("language", _domain); else ConfMan.set("language", Common::getLanguageCode(lang), _domain); - + String gamePath(_gamePathWidget->getLabel()); if (!gamePath.empty()) ConfMan.set("path", gamePath, _domain); - + String extraPath(_extraPathWidget->getLabel()); if (!extraPath.empty() && (extraPath != _c("None", "path"))) ConfMan.set("extrapath", extraPath, _domain); else ConfMan.removeKey("extrapath", _domain); - + String savePath(_savePathWidget->getLabel()); if (!savePath.empty() && (savePath != _("Default"))) ConfMan.set("savepath", savePath, _domain); else ConfMan.removeKey("savepath", _domain); - + Common::Platform platform = (Common::Platform)_platformPopUp->getSelectedTag(); if (platform < 0) ConfMan.removeKey("platform", _domain); else ConfMan.set("platform", Common::getPlatformCode(platform), _domain); - + // Set the state of engine-specific checkboxes for (uint i = 0; i < _engineOptions.size(); i++) { ConfMan.setBool(_engineOptions[i].configOption, _engineCheckboxes[i]->getState(), _domain); |