Version: 0.7.8 (using KDE KDE 3.5.3)
Installed from: Debian testing/unstable Packages
1. start kmahjonhgg
2. edit -> board editor
The background does not show the grid, but a blank screen.
There are also leavongs of the tooltips from toolbar buttons left until I enter the black area with the mouse cursor.
3. set the first stone
Now the screen turns white with a black grid.
To repeat this, I have to restart kmahjongg.
SVN commit 552293 by aacid:
Fix board editor has garbage when opening it.
Add a bit of margin so that Qt does not decide to omit calling Editor::paintEvent (bad Qt changing your behaviour!)
This is a bit of a dirty trick but it's the less intrusive patch i could find that fixed the issue
M +1 -1 Editor.cpp
--- branches/KDE/3.5/kdegames/kmahjongg/Editor.cpp #552292:552293
@@ -69,7 +69,7 @@
// setup the tool bar
- QVBoxLayout *layout = new QVBoxLayout(this);
+ QVBoxLayout *layout = new QVBoxLayout(this, 1);