fixed vertical positioning of window background

svn path=/trunk/KDE/kdebase/workspace/; revision=1080859
This commit is contained in:
Hugo Pereira Da Costa 2010-01-27 05:27:20 +00:00
parent 8cefa7e493
commit 49deef6c2e

View file

@ -580,7 +580,7 @@ namespace Oxygen
} else {
int offset = layoutMetric( LM_OuterPaddingTop );
int height = 64 + configuration().buttonSize() - 22;
int height = 64 + configuration().buttonSize() - OxygenConfiguration::ButtonDefault;
const QWidget* window( isPreview() ? OxygenClient::widget() : widget->window() );
helper().renderWindowBackground(painter, rect, widget, window, palette, offset, height );