diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-01-30 23:59:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-01-30 23:59:09 +0300 |
commit | cc87cce57186c59fdf49a9f46d216063757638ec (patch) | |
tree | 6499daff872f9464c53a390bb6bd0543d4639226 /src/gui/chatwindow.cpp | |
parent | 0fc75f671dace65f1ed8d5b6a66b17b9ab15a9c2 (diff) | |
download | mv-cc87cce57186c59fdf49a9f46d216063757638ec.tar.gz mv-cc87cce57186c59fdf49a9f46d216063757638ec.tar.bz2 mv-cc87cce57186c59fdf49a9f46d216063757638ec.tar.xz mv-cc87cce57186c59fdf49a9f46d216063757638ec.zip |
Rename isKeyActive to isActionActive om keyboard config class.
Diffstat (limited to 'src/gui/chatwindow.cpp')
-rw-r--r-- | src/gui/chatwindow.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/chatwindow.cpp b/src/gui/chatwindow.cpp index 899bbdc36..3d52e28f4 100644 --- a/src/gui/chatwindow.cpp +++ b/src/gui/chatwindow.cpp @@ -764,18 +764,18 @@ void ChatWindow::keyPressed(gcn::KeyEvent &event) mCurHist = mHistory.end(); mChatInput->setText(""); } - else if (keyboard.isKeyActive(keyboard.KEY_AUTOCOMPLETE_CHAT) && + else if (keyboard.isActionActive(keyboard.KEY_AUTOCOMPLETE_CHAT) && mChatInput->getText() != "") { autoComplete(); return; } - else if (keyboard.isKeyActive(keyboard.KEY_DEACTIVATE_CHAT) && + else if (keyboard.isActionActive(keyboard.KEY_DEACTIVATE_CHAT) && mChatInput->isVisible()) { mChatInput->processVisible(false); } - else if (keyboard.isKeyActive(keyboard.KEY_CHAT_PREV_HISTORY) && + else if (keyboard.isActionActive(keyboard.KEY_CHAT_PREV_HISTORY) && mChatInput->isVisible()) { ChatTab *tab = getFocused(); @@ -807,7 +807,7 @@ void ChatWindow::keyPressed(gcn::KeyEvent &event) mChatInput->getText().length())); } } - else if (keyboard.isKeyActive(keyboard.KEY_CHAT_NEXT_HISTORY) && + else if (keyboard.isActionActive(keyboard.KEY_CHAT_NEXT_HISTORY) && mChatInput->isVisible()) { ChatTab *tab = getFocused(); |