From e472f2321c7870da02c3897e42d35aaae115bdec Mon Sep 17 00:00:00 2001 From: =?utf8?q?Heli=20Hyv=C3=A4ttinen?= Date: Tue, 14 Jun 2011 11:31:16 +0300 Subject: [PATCH] Debug code changes --- mainwindow.cpp | 2 +- seascene.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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 -- 1.7.9.5