From: Heli Hyvättinen Date: Tue, 14 Jun 2011 08:31:16 +0000 (+0300) Subject: Debug code changes X-Git-Tag: v0.1.0~12^2 X-Git-Url: https://vcs.maemo.org/git/?a=commitdiff_plain;h=e472f2321c7870da02c3897e42d35aaae115bdec;p=ghostsoverboard Debug code changes --- diff --git a/mainwindow.cpp b/mainwindow.cpp index 6efb243..4b40dd6 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -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); } diff --git a/seascene.cpp b/seascene.cpp index fa2735f..339624a 100644 --- a/seascene.cpp +++ b/seascene.cpp @@ -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