summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-08 22:08:22 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-08 22:19:55 +0300
commita149a49aa167cb7122afc6b12bdb4af9fa90394c (patch)
tree4e2baf673cda888b94d1d640a055c6046105ffa9 /src/input
parent9247c5a23757e01ef7ee91dd5655fcab177e5e6d (diff)
downloadmv-a149a49aa167cb7122afc6b12bdb4af9fa90394c.tar.gz
mv-a149a49aa167cb7122afc6b12bdb4af9fa90394c.tar.bz2
mv-a149a49aa167cb7122afc6b12bdb4af9fa90394c.tar.xz
mv-a149a49aa167cb7122afc6b12bdb4af9fa90394c.zip
Add about button.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/keyboarddata.h7
-rw-r--r--src/input/keydata.h1
2 files changed, 8 insertions, 0 deletions
diff --git a/src/input/keyboarddata.h b/src/input/keyboarddata.h
index a3fbbeab5..2b49a9186 100644
--- a/src/input/keyboarddata.h
+++ b/src/input/keyboarddata.h
@@ -2172,6 +2172,13 @@ static const KeyData keyData[Input::KEY_TOTAL] = {
nullptr,
Input::KEY_NO_VALUE, 50,
COND_DEFAULT},
+ {"keyWindowAbout",
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_DEFAULT | Input::GRP_GUI,
+ &ActionManager::aboutWindowShow,
+ Input::KEY_NO_VALUE, 50,
+ COND_SHORTCUT0},
};
#endif // INPUT_KEYBOARDDATA_H
diff --git a/src/input/keydata.h b/src/input/keydata.h
index e8b44bd64..41a0e85a5 100644
--- a/src/input/keydata.h
+++ b/src/input/keydata.h
@@ -370,6 +370,7 @@ namespace Input
KEY_GUI_F10,
KEY_GUI_F11,
KEY_GUI_F12,
+ KEY_WINDOW_ABOUT,
KEY_TOTAL
};
} // namespace Input