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

List:       kde-commits
Subject:    KDE/kdebase/workspace/kcontrol/kfontinst/kcmfontinst
From:       Craig Drummond <craig () kde ! org>
Date:       2009-09-29 11:55:13
Message-ID: 1254225313.351399.2684.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1029274 by craig:

Just draw plain line


 M  +1 -9      GroupList.cpp  


--- trunk/KDE/kdebase/workspace/kcontrol/kfontinst/kcmfontinst/GroupList.cpp #1029273:1029274
@@ -758,15 +758,7 @@
         if(grp->isUnclassified())
         {
             opt.rect.adjust(2, 0, -2, 1);
-
-            QLinearGradient grad(opt.rect.bottomLeft(), opt.rect.bottomRight());
-            QColor          col(QApplication::palette().color(QPalette::Text));
-
-            grad.setColorAt(0, col);
-            grad.setColorAt(0.8, col);
-            col.setAlphaF(0.0);
-            grad.setColorAt(1, col);
-            painter->setPen(QPen(QBrush(grad), 1));
+            painter->setPen(QApplication::palette().color(QPalette::Text));
             painter->drawLine(opt.rect.bottomLeft(), opt.rect.bottomRight());
         }
     }
[prev in list] [next in list] [prev in thread] [next in thread] 

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