[Kde-games-devel] kpatience bug

Axel Kittenberger axel at kittenberger.net
Fri Jan 7 22:23:07 CET 2005


> This bug is already known.  You can find the report at the KDE Bug center
> using the URL  http://bugs.kde.org/show_bug.cgi?id=80686.
>
> I hope to have time to fix this bug until KDE 3.4.

Well I fixed the bug for myself with this patch below,
I guess it's rather dirty, and not the supposed way to do it, not?
But at last I can now keep playing on with hints enabled even after the 
program decided my game to be lost.

Greetings, axel

Index: dealer.cpp
===================================================================
RCS file: /home/kde/kdegames/kpat/dealer.cpp,v
retrieving revision 1.79
diff -u -r1.79 dealer.cpp
--- dealer.cpp  9 Nov 2004 15:00:21 -0000       1.79
+++ dealer.cpp  7 Jan 2005 21:20:08 -0000
@@ -801,8 +801,8 @@
             return;
         }
         else if (isGameLost() && !toldAboutLostGame) {
-            if ( ahint )
-                ahint->setEnabled( false );
+/*            if ( ahint )
+                ahint->setEnabled( false ); */
             if ( ademo )
                 ademo->setEnabled( false );
             if ( aredeal )


More information about the kde-games-devel mailing list