diff options
author | Joshua Langley <joshlangley[at]optusnet.com.au> | 2007-07-25 13:06:47 +0000 |
---|---|---|
committer | Joshua Langley <joshlangley[at]optusnet.com.au> | 2007-07-25 13:06:47 +0000 |
commit | fbb717acfc2bd1f2a3cedf8465c817e8a5abec57 (patch) | |
tree | b197517690f9afa24bbbb4bf0a5dff8bd7b5b67e /src/keyboardconfig.cpp | |
parent | 8e3fad97a5df4bfc706b0246794b00428bd207e0 (diff) | |
download | mana-fbb717acfc2bd1f2a3cedf8465c817e8a5abec57.tar.gz mana-fbb717acfc2bd1f2a3cedf8465c817e8a5abec57.tar.bz2 mana-fbb717acfc2bd1f2a3cedf8465c817e8a5abec57.tar.xz mana-fbb717acfc2bd1f2a3cedf8465c817e8a5abec57.zip |
keyboard config - keyboard setup gui re-designed, fixed errors in keyboard config.
m_id:16
Diffstat (limited to 'src/keyboardconfig.cpp')
-rw-r--r-- | src/keyboardconfig.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/keyboardconfig.cpp b/src/keyboardconfig.cpp index 277fbcd3..73912000 100644 --- a/src/keyboardconfig.cpp +++ b/src/keyboardconfig.cpp @@ -56,13 +56,6 @@ void KeyboardConfig::init() retrieve(); } -void KeyboardConfig::destroy() -{ - store(); - - delete [] mActiveKeys; -} - void KeyboardConfig::retrieve() { for (int i = 0; i < KEY_TOTAL; i++) @@ -109,7 +102,7 @@ void KeyboardConfig::callbackNewKey() mSetupKey->newKeyCallback(mNewKeyIndex); } -int KeyboardConfig::getKeyIndex(const int keyValue) const +int KeyboardConfig::getKeyIndex(int keyValue) const { for (int i = 0; i < KEY_TOTAL; i++) { |