aboutsummaryrefslogtreecommitdiff
path: root/backends/common/keymap-manager.cpp
diff options
context:
space:
mode:
authorStephen Kennedy2008-08-07 15:44:48 +0000
committerStephen Kennedy2008-08-07 15:44:48 +0000
commit66e4e3ec1a038bc653bb1c04893c39033ac3fb62 (patch)
treedec2202b6716c8a7af066258278d75b301424288 /backends/common/keymap-manager.cpp
parentd6ffc14a7ec15c07f03e59c5ade996714497bee6 (diff)
downloadscummvm-rg350-66e4e3ec1a038bc653bb1c04893c39033ac3fb62.tar.gz
scummvm-rg350-66e4e3ec1a038bc653bb1c04893c39033ac3fb62.tar.bz2
scummvm-rg350-66e4e3ec1a038bc653bb1c04893c39033ac3fb62.zip
* Removed Shape base class
* Reverted Rect to not derive from Shape * ImageMap now just uses Polygon's svn-id: r33680
Diffstat (limited to 'backends/common/keymap-manager.cpp')
-rw-r--r--backends/common/keymap-manager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/common/keymap-manager.cpp b/backends/common/keymap-manager.cpp
index 471bef43fb..39ad6d061e 100644
--- a/backends/common/keymap-manager.cpp
+++ b/backends/common/keymap-manager.cpp
@@ -43,12 +43,12 @@ void KeymapManager::Domain::addKeymap(const String& name, Keymap *map) {
void KeymapManager::Domain::deleteAllKeyMaps() {
KeymapMap::iterator it;
for (it = _keymaps.begin(); it != _keymaps.end(); it++) {
- it->_value->saveMappings(_configDomain, it->_key);
+ //it->_value->saveMappings(_configDomain, it->_key);
delete it->_value;
}
_keymaps.clear();
if (_defaultKeymap) {
- _defaultKeymap->saveMappings(_configDomain, "default");
+ //_defaultKeymap->saveMappings(_configDomain, "default");
delete _defaultKeymap;
}
}