Commit 22272ab6 authored by Waldo Bastian's avatar Waldo Bastian

CCMAIL: 47190-done@bugs.kde.org

Make keys work again. (BR47190)

svn path=/trunk/kdegames/ktron/; revision=176159
parent d97de0d3
......@@ -56,6 +56,8 @@ KTron::KTron(const char *name)
statusbar->insertItem("abcdefghijklmnopqrst: 0 ",ID_STATUS_BASE+1);
statusbar->insertItem("abcdefghijklmnopqrst: 0 ",ID_STATUS_BASE+2);
actionCollection()->setAutoConnectShortcuts(false);
(void)new KAction(i18n("Player 1 Up"), Key_R, 0, 0, actionCollection(), "Pl1Up");
(void)new KAction(i18n("Player 1 Down"), Key_F, 0, 0, actionCollection(), "Pl1Down");
(void)new KAction(i18n("Player 1 Right"), Key_G, 0, 0, actionCollection(), "Pl1Right");
......@@ -69,6 +71,8 @@ KTron::KTron(const char *name)
(void)new KAction(i18n("Player 2 Left"), Key_Left, 0, 0, actionCollection(), "Pl2Left");
(void)new KAction(i18n("Player 2 Accelerator"), Key_Plus, 0, 0, actionCollection(), "Pl2Ac");
actionCollection()->setAutoConnectShortcuts(true);
tron->setActionCollection(actionCollection());
KAction* action;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment