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

List:       kde-commits
Subject:    [Konversation] 09ada0b: Revert back to unstyled checkboxes... the
From:       Peter Simonsson <peter.simonsson () gmail ! com>
Date:       2010-07-01 13:27:47
Message-ID: 20100701132747.5940CBB56C8 () projects ! kde ! org
[Download RAW message or body]

commit 09ada0bd308c468e9d559641e215fede01552608
Author: Peter Simonsson <peter.simonsson@gmail.com>
Date:   Fri Aug 6 09:43:33 2004 +0000

    Revert back to unstyled checkboxes... the styled ones still crashes.
    
    svn path=/trunk/kdeextragear-2/konversation/; revision=336513

diff --git a/konversation/serverlistdialog.cpp b/konversation/serverlistdialog.cpp
index be376bf..2bcf874 100644
--- a/konversation/serverlistdialog.cpp
+++ b/konversation/serverlistdialog.cpp
@@ -134,14 +134,14 @@ namespace Konversation {
 
     int x = ((width - boxsize) / 2) + marg;
     
-    lv->style().drawPrimitive(QStyle::PE_CheckListIndicator, p,
-      QRect(x, y, boxsize, fm.height() + 2 + marg), _cg, styleflags, QStyleOption(this));
-/*    p->drawRect(x, y, boxsize, boxsize);
+/*    lv->style().drawPrimitive(QStyle::PE_CheckListIndicator, p,
+      QRect(x, y, boxsize, fm.height() + 2 + marg), _cg, styleflags, QStyleOption(this));*/
+    p->drawRect(x, y, boxsize, boxsize);
   
     if(autoConnect()) {
       p->drawLine(x, y, x + boxsize, y + boxsize);
       p->drawLine(x, y + boxsize, x + boxsize, y);
-    }*/
+    }
   }
   
   //
[prev in list] [next in list] [prev in thread] [next in thread] 

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