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

List:       kde-commits
Subject:    kdegames/kasteroids
From:       Benjamin Meyer <benjamin () csh ! rit ! edu>
Date:       2004-07-12 21:13:04
Message-ID: 20040712211304.C64CA16B11 () office ! kde ! org
[Download RAW message or body]

CVS commit by bmeyer: 

setupGUI after the gui is built


  M +4 -4      toplevel.cpp   1.76


--- kdegames/kasteroids/toplevel.cpp  #1.75:1.76
@@ -251,4 +251,6 @@ KAstTopLevel::KAstTopLevel()
     setCentralWidget( mainWin );
 
+    setupGUI( KMainWindow::Save | Create );
+    
     setFocusPolicy( StrongFocus );
     setFocus();
@@ -297,6 +299,4 @@ void KAstTopLevel::initKAction()
     keycodes.insert(Shield, new KAction(i18n("Shield"), Qt::Key_S, 0, 0, \
                actionCollection(), "Shield"));
     launchAction = new KAction(i18n("Launch"), Qt::Key_L, this, SLOT(slotLaunch()), \
                actionCollection(), "Launch");
-    resize(640,509);
-    setupGUI( KMainWindow::Save | Create );
 }
 


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

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