fixed vertical positioning of window background
svn path=/trunk/KDE/kdebase/workspace/; revision=1080859
This commit is contained in:
parent
8cefa7e493
commit
49deef6c2e
1 changed files with 1 additions and 1 deletions
|
@ -580,7 +580,7 @@ namespace Oxygen
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
int offset = layoutMetric( LM_OuterPaddingTop );
|
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() );
|
const QWidget* window( isPreview() ? OxygenClient::widget() : widget->window() );
|
||||||
helper().renderWindowBackground(painter, rect, widget, window, palette, offset, height );
|
helper().renderWindowBackground(painter, rect, widget, window, palette, offset, height );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue