[Kde-games-devel] Patch: KNetwalk, Bug 156943

Fela Winkelmolen fela.kde at gmail.com
Fri Apr 18 22:00:30 CEST 2008


On Friday 18 April 2008, GnuShi wrote:
> Hi Folks!
>
> The reporter of Bug 159643 wants a prefilled Highscore field.
> See http://bugs.kde.org/show_bug.cgi?id=156943
>
> I just added KUser.  Now, I get userName or loginName and set this
> string as a default to FieldInfo of KScoredialog. The score is added and
> allows the change of username.
>
> Best Regards
>
> GnuShi

As I said already on IRC I thing this actually is something that should be 
done in KScoreDialog, actually it should also remember the last used name. If 
I recall correctly it also says in the apidox that it does that, but it 
don't. Anyway it's already quite some time that I wanted to write a mail 
about the issues of KScoreDialog, but unfortunately haven't had time. I hope 
I will do it next week.

For now I think this solution would do: go ahead a apply the patch, and also 
close the bug. Only put braces around the body of the if, even if it only has 
one statement, I try follow the kdelibs coding style in my programs.

Cheers,
- fela


More information about the kde-games-devel mailing list