[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdegames/kpat
From:       Inge Wallin <inge () lysator ! liu ! se>
Date:       2004-11-04 20:09:35
Message-ID: 20041104200935.18B1C16D71 () office ! kde ! org
[Download RAW message or body]

CVS commit by ingwa: 

Fix the fix for 92002: Only ask for confirmation if the user actively aborts the game.


  M +4 -1      CHANGES   1.14
  M +17 -14    dealer.cpp   1.78
  M +2 -2      pwidget.cpp   1.119


--- kdegames/kpat/CHANGES  #1.13:1.14
@@ -1,5 +1,8 @@
 2004-11-04 Inge Wallin <inge@lysator.liu.se>
 
-        Start of a thorough code cleaning
+        Fix the fix for 92002 below:
+        - Only ask for confirmation if the user actively aborts the game.
+
+        Start of a thorough code cleaning:
         - Start with hide.h and dealer.cpp
 

--- kdegames/kpat/pwidget.cpp  #1.118:1.119
@@ -277,6 +277,6 @@ void pWidget::enableAutoDrop()
 
 void pWidget::newGame() {
-    if (KMessageBox
-        ::warningYesNo(0,
+    if (!dill->isGameWon()
+        && KMessageBox::warningYesNo(0,
                        i18n("You are already running an unfinished game.  "
                             "If you abort the old game to start a new one, "


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic