this doesn't smooth scroll so much as it scrolls one pixel at a time... smooth scroll would be nice, though. what was the intention here, Rafael?

CCMAIL:ereslibre@kde.org
BUG:157912

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=776051
This commit is contained in:
Aaron J. Seigo 2008-02-17 09:23:19 +00:00
parent f78ab80d19
commit d604a06e6b

View File

@ -55,7 +55,7 @@ KCategorizedItemsView::KCategorizedItemsView(QWidget * parent, Qt::WindowFlags f
itemsView->header()->setVisible(false);
itemsView->setItemDelegate(m_delegate = new KCategorizedItemsViewDelegate(this));
itemsView->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
//itemsView->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
connect (m_delegate, SIGNAL(destroyApplets(const QString)),
parent, SLOT(destroyApplets(const QString)));