[Kde-games-devel] Porting from QT to KDE

Josef Spillner kde-games-devel@mail.kde.org
Wed, 5 Feb 2003 19:31:21 +0100


On Wednesday 05 February 2003 18:36, Albert Astals Cid wrote:
> and i have changed it to
>
> KMessageBox::information(this,"","Red player wins!!!");

The 2nd and 3rd argument KMessage box gets are swapped.
Use something like:
KMessageBox::information(this, "Red player wins!", "Game over");

If KMessageBox crashes when the text is empty, it's a bug in KMessageBox, and 
might already be fixed in a newer version of KDE.
(Or some strange memory corruption occured earlier in your code.)

Josef

-- 
Free operating systems. Free software. Free games.