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

List:       kde-commits
Subject:    [amarok] src/playlist: Text color in toolbar below playlist is no longer always white.
From:       Mark Kretschmann <kretschmann () kde ! org>
Date:       2013-07-01 5:51:07
Message-ID: E1UtX11-00061U-DL () scm ! kde ! org
[Download RAW message or body]

Git commit 8d3faf37cc2283e5d4038e864adb2343961f1470 by Mark Kretschmann.
Committed on 01/07/2013 at 05:46.
Pushed by markey into branch 'master'.

Text color in toolbar below playlist is no longer always white.

Patch by Ricardo Varas <ricardoivaras@gmail.com>.

BUG: 279527
FIXED-IN: 2.8
REVIEW: 111334

Thanks for the patch, Ricardo :)

Now, if you could also figure out how to make the text stick less
close to the right border, that'd be gold.

M  +1    -1    src/playlist/PlaylistDock.cpp

http://commits.kde.org/amarok/8d3faf37cc2283e5d4038e864adb2343961f1470

diff --git a/src/playlist/PlaylistDock.cpp b/src/playlist/PlaylistDock.cpp
index 7faf1ba..ac03fc3 100644
--- a/src/playlist/PlaylistDock.cpp
+++ b/src/playlist/PlaylistDock.cpp
@@ -257,7 +257,7 @@ Playlist::Dock::paletteChanged( const QPalette &palette )
 
     QString barStyle( "QFrame#PlaylistBarBox { border: 1px ridge %1; background-color: %2; "
                                              " color: %3; border-radius: 3px; } "
-                      "QLabel { color: %3; }" );
+                      "QLabel { color: %4; }" );
     barStyle = barStyle.arg( ridgeColor, backgroundColor, textColor );
 
     m_dynamicHintWidget->setStyleSheet( hintStyle );
[prev in list] [next in list] [prev in thread] [next in thread] 

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