[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdegames/ktron
From:       Benjamin Meyer <benjamin () csh ! rit ! edu>
Date:       2003-03-13 1:11:30
[Download RAW message or body]

CVS commit by bmeyer: 

Fix accel bug


  M +3 -4      ktron.cpp   1.43


--- kdegames/ktron/ktron.cpp  #1.42:1.43
@@ -42,5 +42,4 @@
 #include <qvbox.h>
 #include <kautoconfig.h>
-//#include "kautoconfig_kfile.h"
 
 #define ID_STATUS_BASE 40
@@ -75,5 +74,5 @@ KTron::KTron() : settings(0) {
    (void)new KAction(i18n("Player 2 Right"), Key_Right, 0, 0, actionCollection(), "Pl2Right");
    (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");
+   (void)new KAction(i18n("Player 2 Accelerator"), Key_0, 0, 0, actionCollection(), "Pl2Ac");
 
    actionCollection()->setAutoConnectShortcuts(true);
@@ -85,5 +84,5 @@ KTron::KTron() : settings(0) {
    KStdGameAction::quit(this, SLOT( close() ), actionCollection());
 
-   showStatusbar = KStdAction::showStatusbar(this, SLOT(toggleStatusbar()), actionCollection());
+   //showStatusbar = KStdAction::showStatusbar(this, SLOT(toggleStatusbar()), actionCollection());
    KStdAction::keyBindings(this, SLOT(configureKeys()), actionCollection());
    
@@ -93,5 +92,5 @@ KTron::KTron() : settings(0) {
   resize(400,300);
   setAutoSaveSettings();
-  showStatusbar->setChecked(!statusBar()->isHidden());
+  //showStatusbar->setChecked(!statusBar()->isHidden());
   readSettings();
 }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic