From 7d48c628262e236d249b0f0a1a777b2a75478f47 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Heli=20Hyv=C3=A4ttinen?= Date: Mon, 26 Sep 2011 14:42:13 +0300 Subject: [PATCH] Compiles again Fixed problems caused by merging some commits from the harmattan branch. --- seascene.cpp | 5 +---- seascene.h | 1 - 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/seascene.cpp b/seascene.cpp index ac2270f..857ef7f 100644 --- a/seascene.cpp +++ b/seascene.cpp @@ -649,9 +649,6 @@ void SeaScene::prepareForMenu(QGraphicsItem * pItem) int itemsPerRow = 3; - - int itemsPerRow = 3; - pItem->setParentItem(pPausetextItem_); pItem->setZValue(1000); pItem->setFlag(QGraphicsItem::ItemIsSelectable); @@ -896,7 +893,7 @@ void SeaScene::createLevelCompletedItems() pTapForNextLevelItem->setZValue(1000); pTapForNextLevelItem->setHtml("Tap to start the next level"); - +} void SeaScene::createSelectLevelsetFromListItems() { if (availableLevelsets_.isEmpty()) //Something is badly wrong in code if this is true... diff --git a/seascene.h b/seascene.h index 3b3f0f8..963f3d1 100644 --- a/seascene.h +++ b/seascene.h @@ -145,7 +145,6 @@ protected: QGraphicsTextItem * pVictoryCongratulationsItem_; QGraphicsTextItem * pVictoryScoreItem_; QGraphicsTextItem * pAboutBoxItem_; - QGraphicsTextItem * pVictoryCongratulationsItem_; QGraphicsTextItem * pLevelCompletedItem_; -- 1.7.9.5