diff options
author | Yaniv Kamay <ykamay@redhat.com> | 2009-11-16 22:38:55 +0200 |
---|---|---|
committer | Yaniv Kamay <ykamay@redhat.com> | 2009-11-30 18:10:28 +0200 |
commit | 4f2e36f08ab0d48eed0029d689461487b0013b7d (patch) | |
tree | 112107abfadf68e2c29c7627ac832d1dd7293a58 | |
parent | 6f4736e08be2dfa7fec33d5bca56e33ae2f7af6f (diff) | |
download | spice-4f2e36f08ab0d48eed0029d689461487b0013b7d.tar.gz spice-4f2e36f08ab0d48eed0029d689461487b0013b7d.tar.xz spice-4f2e36f08ab0d48eed0029d689461487b0013b7d.zip |
remove unuse Application::is_cad_pressed()
-rw-r--r-- | client/application.cpp | 7 | ||||
-rw-r--r-- | client/application.h | 1 |
2 files changed, 0 insertions, 8 deletions
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)); diff --git a/client/application.h b/client/application.h index 5d5c1e87..fde4402f 100644 --- a/client/application.h +++ b/client/application.h @@ -206,7 +206,6 @@ private: void menu_item_callback(unsigned int item_id); int get_hotkeys_commnad(); bool is_key_set_pressed(const HotkeySet& key_set); - bool is_cad_pressed(); void do_on_key_up(RedKey key); void __remove_key_handler(KeyHandler& handler); |