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

List:       kde-commits
Subject:    KDE/kdelibs/kde3support/kdeui
From:       Arto Hytönen <amthpublic () gmail ! com>
Date:       2007-09-05 1:21:03
Message-ID: 1188955263.310846.5776.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 708483 by amth:

KGS->KCS color fixes


 M  +2 -2      k3listview.cpp  


--- trunk/KDE/kdelibs/kde3support/kdeui/k3listview.cpp #708482:708483
@@ -451,7 +451,7 @@
 
   connect (this, SIGNAL (menuShortCutPressed (K3ListView*, Q3ListViewItem*)),
                    this, SLOT (emitContextMenu (K3ListView*, Q3ListViewItem*)));
-  d->alternateBackground = KGlobalSettings::alternateBackgroundColor();
+  d->alternateBackground = KColorScheme(QPalette::Active, \
KColorScheme::View).background(KColorScheme::AlternateBackground).color();  }
 
 K3ListView::~K3ListView()
@@ -740,7 +740,7 @@
 bool K3ListView::event( QEvent *e )
 {
   if (e->type() == QEvent::ApplicationPaletteChange)
-    d->alternateBackground=KGlobalSettings::alternateBackgroundColor();
+    d->alternateBackground=KColorScheme(QPalette::Active, \
KColorScheme::View).background(KColorScheme::AlternateBackground).color();  
   return Q3ListView::event(e);
 }


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

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