Updated files under /debian to reflect version 0.2.0
[ghostsoverboard] / mainwindow.cpp
index 0845aa7..58b3cfd 100644 (file)
@@ -59,6 +59,11 @@ MainWindow::MainWindow(QWidget *parent)
     connect(pRestartLevelAction,SIGNAL(triggered()),this,SLOT(restartLevel()));
     menuBar()->addAction(pRestartLevelAction);
 
+    QAction * pRestartGameAction = new QAction(tr("Restart game"),this);
+    addAction(pRestartGameAction);
+    connect(pRestartGameAction,SIGNAL(triggered()),this,SLOT(restartGame()));
+    menuBar()->addAction(pRestartGameAction);
+
     QAction * pVibrateAction = new QAction(tr("Vibration effects"),this);
     pVibrateAction->setCheckable(true);
     addAction(pVibrateAction);
@@ -71,18 +76,15 @@ MainWindow::MainWindow(QWidget *parent)
     connect(pAboutAction,SIGNAL(triggered()),this,SLOT(about()));
     menuBar()->addAction(pAboutAction);
 
-    QAction * pRestartGameAction = new QAction(tr("Restart game"),this);
-    addAction(pRestartGameAction);
-    connect(pRestartGameAction,SIGNAL(triggered()),this,SLOT(restartGame()));
-    menuBar()->addAction(pRestartGameAction);
+
 
     Level level1(5,10);
     levelList_.append(level1);
     Level level2(5,10,2,50);
     levelList_.append(level2);
-    Level level3(5,15,3,50);
+    Level level3(5,15,2,50);
     levelList_.append(level3);
-    Level level4(5,15,5,50);
+    Level level4(5,15,4,50);
     levelList_.append(level4);
     Level level5(5,15,5,100);
     levelList_.append(level5);