[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdegames/kpat
From: Stephan Kulow <coolo () kde ! org>
Date: 2005-03-07 20:08:09
Message-ID: 20050307200809.12883103CB () office ! kde ! org
[Download RAW message or body]
CVS commit by coolo:
do not give abort warning when the game is lost anyway (dedicated to the best
beta tester there is ;)
M +1 -1 pwidget.cpp 1.126
--- kdegames/kpat/pwidget.cpp #1.125:1.126
@@ -297,5 +297,5 @@ void pWidget::newGame()
// Check if the user is already running a game, and if she is,
// then ask if she wants to abort it.
- if (!dill->isGameWon()
+ if (!dill->isGameWon() && !dill->isGameLost()
&& KMessageBox::warningContinueCancel(0,
i18n("You are already running an unfinished game. "
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic