cosmetics.
This commit is contained in:
parent
2eb4b96a8c
commit
0b1f4fc1d6
1 changed files with 1 additions and 2 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue