[Kde-games-devel] kpatience bug

Inge Wallin inge at lysator.liu.se
Tue Jan 18 13:06:21 CET 2005


On Friday 07 January 2005 22.23, Axel Kittenberger wrote:
> > 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.

Hi Axel, and sorry for the delay.

Well, yes, the patch is sort of dirty, but if it works, it is better than the 
current state of affairs.

I will keep it, and if I don't have the time to fix it myself I will commit it 
during the later phase of the feature freeze.  Ok?

 -Inge

> 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 )

-- 
Inge Wallin               | Thus spake the master programmer:               |
                          |      "After three days without programming,     |
inge at lysator.liu.se       |       life becomes meaningless."                |
                          | Geoffrey James: The Tao of Programming.         |


More information about the kde-games-devel mailing list