do not translate buttons up for maximized windows, because it collides with screen border otherwise

svn path=/trunk/KDE/kdebase/workspace/; revision=1032967
icc-effect-5.14.5
Hugo Pereira Da Costa 2009-10-09 00:26:57 +00:00
parent 458ded5de1
commit 3a155c8f8c
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ namespace Oxygen
{ client_.renderSeparator( &painter, rect(), this, color ); }
// translate button up for centering
painter.translate( 0, -1 );
if( !client_.isMaximized() ) painter.translate( 0, -1 );
// for menu button the application icon is used
if (type_ == ButtonMenu)