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

List:       kde-commits
Subject:    branches/KDE/4.4/kdelibs/kdeui/itemviews
From:       Christoph Feck <christoph () maxiom ! de>
Date:       2010-04-25 0:14:15
Message-ID: 20100425001415.2D50FAC8A3 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1118521 by cfeck:

Never show horizontal scroll bar (backport r1118520)

Revert commit r1104322, and try a different workaround.

CCBUG: 233163
CCBUG: 213068


 M  +4 -1      kcategorizedview.cpp  


--- branches/KDE/4.4/kdelibs/kdeui/itemviews/kcategorizedview.cpp #1118520:1118521
@@ -544,6 +544,8 @@
     : QListView(parent)
     , d(new Private(this))
 {
+    // check bugs 213068 and 233163 before you enable horizontal scroll bar
+    setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
 }
 
 KCategorizedView::~KCategorizedView()
@@ -1274,8 +1276,9 @@
 {
     const int verticalOff = verticalOffset();
 
+    QListView::updateGeometries();
+
     if (!d->isCategorized()) {
-        QListView::updateGeometries();
         return;
     }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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