fixed background positionning when title bar is hidden
svn path=/trunk/KDE/kdebase/workspace/; revision=1112325icc-effect-5.14.5
parent
6ffa8df90f
commit
c9490235cd
|
@ -573,7 +573,8 @@ namespace Oxygen
|
|||
} else {
|
||||
|
||||
int offset = layoutMetric( LM_OuterPaddingTop );
|
||||
int height = 64 + configuration().buttonSize() - OxygenConfiguration::ButtonDefault;
|
||||
int height = 64 - OxygenConfiguration::ButtonDefault;
|
||||
if( !configuration().hideTitleBar() ) height += configuration().buttonSize();
|
||||
const QWidget* window( isPreview() ? OxygenClient::widget() : widget->window() );
|
||||
helper().renderWindowBackground(painter, rect, widget, window, palette, offset, height );
|
||||
|
||||
|
|
Loading…
Reference in New Issue