From 0b1f4fc1d6328b3510ffa72bdb932a305943eefc Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa Date: Wed, 29 Feb 2012 17:17:25 +0100 Subject: [PATCH] cosmetics. --- clients/oxygen/oxygenclient.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/clients/oxygen/oxygenclient.cpp b/clients/oxygen/oxygenclient.cpp index 17832ecc9d..7a2b021f2a 100644 --- a/clients/oxygen/oxygenclient.cpp +++ b/clients/oxygen/oxygenclient.cpp @@ -977,9 +977,9 @@ namespace Oxygen QPixmap Client::renderTitleText( const QRect& rect, const QString& caption, const QColor& color, bool elide ) const { - QPixmap out( rect.size() ); if( !rect.isValid() ) return QPixmap(); + QPixmap out( rect.size() ); out.fill( Qt::transparent ); if( caption.isEmpty() || !color.isValid() ) return out; @@ -1689,7 +1689,6 @@ namespace Oxygen } else if( !( isActive() && configuration().drawTitleOutline() ) ) { - geometry.adjust( buttonsLeftWidth() + layoutMetric( LM_TitleEdgeLeft ) , 0, -( buttonsRightWidth() + layoutMetric( LM_TitleEdgeRight )), 0 );