Debug code changes
authorHeli Hyvättinen <heli.hyvattinen@kymp.net>
Tue, 14 Jun 2011 08:31:16 +0000 (11:31 +0300)
committerHeli Hyvättinen <heli.hyvattinen@kymp.net>
Tue, 14 Jun 2011 08:31:16 +0000 (11:31 +0300)
mainwindow.cpp
seascene.cpp

index 6efb243..4b40dd6 100644 (file)
@@ -64,7 +64,7 @@ void MainWindow::initializeBoundaries()
     pScene_->setSceneRect(rectangle);
     pView_->setSceneRect(rectangle);
 
-    qDebug() << "Initialized boundaries" << rectangle.left() << rectangle.right() << pView_->width();
+    qDebug() << "Initialized boundaries" << rectangle.right() << rectangle.bottom() << pView_->width() << pView_->height();
 
     pScene_->setupMap(5,5,5);
 }
index fa2735f..339624a 100644 (file)
@@ -132,7 +132,6 @@ void SeaScene::setupMap(int ghosts, int rocks, int octopuses)
 void SeaScene::spreadGhosts(int ghosts)
 {
 
-    qDebug() << "Preparing to spread ghosts";
 
     //the octopuses and the ship may have moved from their original positions,
     //so the list of free slots must be adjusted to exclude their current positions