diff options
Diffstat (limited to 'src/Keys.cc')
-rw-r--r-- | src/Keys.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Keys.cc b/src/Keys.cc index 6ab5c7f..d528d00 100644 --- a/src/Keys.cc +++ b/src/Keys.cc | |||
@@ -199,6 +199,7 @@ Keys::t_key::~t_key() { | |||
199 | 199 | ||
200 | Keys::Keys(): | 200 | Keys::Keys(): |
201 | m_reloader(new FbTk::AutoReloadHelper()), | 201 | m_reloader(new FbTk::AutoReloadHelper()), |
202 | m_keylist(0), | ||
202 | next_key(0), saved_keymode(0) { | 203 | next_key(0), saved_keymode(0) { |
203 | m_reloader->setReloadCmd(FbTk::RefCount<FbTk::Command<void> >(new FbTk::SimpleCommand<Keys>(*this, &Keys::reload))); | 204 | m_reloader->setReloadCmd(FbTk::RefCount<FbTk::Command<void> >(new FbTk::SimpleCommand<Keys>(*this, &Keys::reload))); |
204 | } | 205 | } |
@@ -214,6 +215,7 @@ Keys::~Keys() { | |||
214 | void Keys::deleteTree() { | 215 | void Keys::deleteTree() { |
215 | 216 | ||
216 | destroyAndClearSecond(m_map); | 217 | destroyAndClearSecond(m_map); |
218 | m_keylist = 0; | ||
217 | next_key = 0; | 219 | next_key = 0; |
218 | saved_keymode = 0; | 220 | saved_keymode = 0; |
219 | } | 221 | } |