diff options
author | Johannes Schickel | 2010-06-28 23:41:43 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-06-28 23:41:43 +0000 |
commit | 23fa2296c3a3bc009b21684538e73e0520096e68 (patch) | |
tree | 0174fef95eaa89c831255e7ec3fc8c3fa235054e /common/unzip.cpp | |
parent | 15f9f37d4d15e8c8972fa0ecdbbdaf138ea2a8da (diff) | |
download | scummvm-rg350-23fa2296c3a3bc009b21684538e73e0520096e68.tar.gz scummvm-rg350-23fa2296c3a3bc009b21684538e73e0520096e68.tar.bz2 scummvm-rg350-23fa2296c3a3bc009b21684538e73e0520096e68.zip |
Fix regression from r50382, which triggered an assert when clicking "OK" in the GMM's options dialog.
The problem here is that our ConfigDialog uses "" as domain name,
this will result in the assert in common/config-manager.cpp:323
getting triggered, when using ConfMan.removeKey.
Since setting the domain to the game's domain does not seem save
according to the FIXME in gui/dialogs.cpp about this domain hackery,
I decided to adapt the OptionsDialog to only call ConfMan.removeKey
for "music_driver" etc., when the music driver widgets are present.
This is consistent with the over uses of removeKey in
OptionsDialog::close too.
svn-id: r50468
Diffstat (limited to 'common/unzip.cpp')
0 files changed, 0 insertions, 0 deletions