[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/multimedia/amarok/src/widgets
From:       Mark Kretschmann <kretschmann () kde ! org>
Date:       2009-04-19 18:46:14
Message-ID: 1240166774.259284.18526.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 956282 by markey:

Get rid of the black border in the OSD too. If you look closely,
you'll see that we already have a light border. It makes the OSD look
less heavy and less blocky. "Air" is the future, isn't it :)

The jury is still out on the background color. If we revert that too,
we've essentially reverted KRF's complete commit.

 M  +1 -5      Osd.cpp  


--- trunk/extragear/multimedia/amarok/src/widgets/Osd.cpp #956281:956282
@@ -70,7 +70,7 @@
     setObjectName( name );
     setFocusPolicy( Qt::NoFocus );
     setBackgroundRole( QPalette::ToolTipBase );
-    setAutoFillBackground (true);
+    setAutoFillBackground( true );
     unsetColors();
 
     m_timer->setSingleShot( true );
@@ -368,10 +368,6 @@
     p.setFont( font() );
     p.drawText( rect, align, m_text );
 
-    // Draw a black border around the widget
-    p.setPen( Qt::black );
-    p.drawRect( 0, 0, width(), height() );
-
     m_paused = false;
 }
 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic