From 4f2e36f08ab0d48eed0029d689461487b0013b7d Mon Sep 17 00:00:00 2001 From: Yaniv Kamay Date: Mon, 16 Nov 2009 22:38:55 +0200 Subject: remove unuse Application::is_cad_pressed() --- client/application.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'client/application.cpp') diff --git a/client/application.cpp b/client/application.cpp index d5ff48f0..e2aaad25 100644 --- a/client/application.cpp +++ b/client/application.cpp @@ -1418,13 +1418,6 @@ int Application::get_hotkeys_commnad() return (iter != _hot_keys.end()) ? iter->first : APP_CMD_INVALID; } -bool Application::is_cad_pressed() -{ - return ((_key_table[REDKEY_L_CTRL].press || _key_table[REDKEY_R_CTRL].press) && - (_key_table[REDKEY_L_ALT].press || _key_table[REDKEY_R_ALT].press) && - (_key_table[REDKEY_DELETE].press || _key_table[REDKEY_PAD_POINT].press)); -} - void Application::send_key_down(RedKey key) { _key_handler->on_key_down(get_make_scan_code(key)); -- cgit