diff --git a/src/gui/qt/mainwindow/mainwindowimpl.cpp b/src/gui/qt/mainwindow/mainwindowimpl.cpp index 3e5569e3..ce2ecc7c 100755 --- a/src/gui/qt/mainwindow/mainwindowimpl.cpp +++ b/src/gui/qt/mainwindow/mainwindowimpl.cpp @@ -2092,6 +2092,7 @@ void mainWindowImpl::nextRoundCleanGui() { for (i=0; i<5; i++ ) { boardCardsArray[i]->setPixmap(onePix, FALSE); boardCardsArray[i]->setFadeOutAction(FALSE); + boardCardsArray[i]->stopFlipCardsAnimation(); } for (i=0; istop(); + flipCardsAction1 = FALSE; + flipCardsAction2 = FALSE; + stopFlipCards = TRUE; + update(); +} + void MyCardsPixmapLabel::nextFlipCardsFrame() { if (frameFlipCardsAction1Size > 0.1 ) { diff --git a/src/gui/qt/mainwindow/mycardspixmaplabel.h b/src/gui/qt/mainwindow/mycardspixmaplabel.h index 02a16059..4ef307ee 100644 --- a/src/gui/qt/mainwindow/mycardspixmaplabel.h +++ b/src/gui/qt/mainwindow/mycardspixmaplabel.h @@ -33,6 +33,7 @@ public: void startFadeOut(int); void startFlipCards(int, QPixmap, QPixmap*); + void stopFlipCardsAnimation(); void paintEvent(QPaintEvent * event); @@ -66,6 +67,7 @@ private: bool fadeOutAction; bool flipCardsAction1; bool flipCardsAction2; + bool stopFlipCards; }; #endif