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

List:       kde-commits
Subject:    [libkdegames/viranch/popupitem] declarativeimports/qml: TODO comment- no need to use KStatefulBrush,
From:       Viranch Mehta <viranch.mehta () gmail ! com>
Date:       2013-07-23 21:35:44
Message-ID: E1V1kFE-0003BH-7A () scm ! kde ! org
[Download RAW message or body]

Git commit b6b8e684cfcaa6a61f6222d06d60ff76ee0ba7d2 by Viranch Mehta.
Committed on 24/04/2013 at 11:25.
Pushed by viranch into branch 'viranch/popupitem'.

TODO comment- no need to use KStatefulBrush, KColorScheme gives desired col=
ors

M  +2    -2    declarativeimports/qml/PopupItem.qml

http://commits.kde.org/libkdegames/b6b8e684cfcaa6a61f6222d06d60ff76ee0ba7d2

diff --git a/declarativeimports/qml/PopupItem.qml b/declarativeimports/qml/=
PopupItem.qml
index b474228..585e96d 100644
--- a/declarativeimports/qml/PopupItem.qml
+++ b/declarativeimports/qml/PopupItem.qml
@@ -38,7 +38,7 @@ Rectangle {
     property int margin: 15
     property int iconTextMargin: showIcon ? 10 : 0
 =

-    // TODO: take this from KStatefulBrush(KColorScheme::Tooltip, KColorSc=
heme::NormalBackground).color();
+    // TODO: take this from KColorScheme(QPalette::Active, KColorScheme::T=
ooltip).background().color();
     color: "#181513"
     opacity: 0
     width: icon.paintedWidth + iconTextMargin + message.paintedWidth + mar=
gin*2
@@ -65,7 +65,7 @@ Rectangle {
             leftMargin: parent.iconTextMargin
             verticalCenter: parent.verticalCenter
         }
-        // TODO: take this from KStatefulBrush(KColorScheme::Tooltip, KCol=
orScheme::NormalText).color();
+        // TODO: take this from KColorScheme(QPalette::Active, KColorSchem=
e::Tooltip).foreground().color();
         color: "white"
         textFormat: Text.RichText
         smooth: true
[prev in list] [next in list] [prev in thread] [next in thread] 

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