Summary: | Board editor shows black screen when started first | ||
---|---|---|---|
Product: | [Applications] kmahjongg | Reporter: | Frederik Schwarzer <schwarzer> |
Component: | general | Assignee: | Albert Astals Cid <aacid> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Frederik Schwarzer
2006-06-17 03:55:27 UTC
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 BUGS: 129280 M +1 -1 Editor.cpp --- branches/KDE/3.5/kdegames/kmahjongg/Editor.cpp #552292:552293 @@ -69,7 +69,7 @@ // setup the tool bar setupToolbar(); - QVBoxLayout *layout = new QVBoxLayout(this); + QVBoxLayout *layout = new QVBoxLayout(this, 1); layout->addWidget(topToolbar,0); layout->addWidget(drawFrame,1); layout->activate(); |