author | tille <tille> | 2002-07-10 13:05:07 (UTC) |
---|---|---|
committer | tille <tille> | 2002-07-10 13:05:07 (UTC) |
commit | 5d989e509abecf74aaa4eb88abf52a6821d19501 (patch) (unidiff) | |
tree | 3e61348802a9ea05980e91e13344a45be509b7d1 /noncore/games/solitaire/canvascardgame.cpp | |
parent | 32954f729822e2d25f9e116400cbf2522a88ce42 (diff) | |
download | opie-5d989e509abecf74aaa4eb88abf52a6821d19501.zip opie-5d989e509abecf74aaa4eb88abf52a6821d19501.tar.gz opie-5d989e509abecf74aaa4eb88abf52a6821d19501.tar.bz2 |
cam implemented new game teeclub and pile resizing
Diffstat (limited to 'noncore/games/solitaire/canvascardgame.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/solitaire/canvascardgame.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/games/solitaire/canvascardgame.cpp b/noncore/games/solitaire/canvascardgame.cpp index 357e798..4404b04 100644 --- a/noncore/games/solitaire/canvascardgame.cpp +++ b/noncore/games/solitaire/canvascardgame.cpp | |||
@@ -375,8 +375,8 @@ void CanvasCardGame::readPile( Config& cfg, CardPile *pile, QString name, int& h | |||
375 | 375 | ||
376 | card = cards[ val ]; | 376 | card = cards[ val ]; |
377 | card->setFace(facing); | 377 | card->setFace(facing); |
378 | pile->addCardToTop(card); | 378 | card->setCardPile(pile); // cam: setCardPile muss vor addCardToTop passieren |
379 | card->setCardPile(pile); | 379 | pile->addCardToTop(card); // weil sonst absturz wg cardAddedToTop |
380 | QPoint p = pile->getCardPos( card ); | 380 | QPoint p = pile->getCardPos( card ); |
381 | card->setPos( p.x(), p.y(), highestZ ); | 381 | card->setPos( p.x(), p.y(), highestZ ); |
382 | card->showCard(); | 382 | card->showCard(); |