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:
parent
f78ab80d19
commit
d604a06e6b
@ -55,7 +55,7 @@ KCategorizedItemsView::KCategorizedItemsView(QWidget * parent, Qt::WindowFlags f
|
|||||||
itemsView->header()->setVisible(false);
|
itemsView->header()->setVisible(false);
|
||||||
|
|
||||||
itemsView->setItemDelegate(m_delegate = new KCategorizedItemsViewDelegate(this));
|
itemsView->setItemDelegate(m_delegate = new KCategorizedItemsViewDelegate(this));
|
||||||
itemsView->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
|
//itemsView->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
|
||||||
|
|
||||||
connect (m_delegate, SIGNAL(destroyApplets(const QString)),
|
connect (m_delegate, SIGNAL(destroyApplets(const QString)),
|
||||||
parent, SLOT(destroyApplets(const QString)));
|
parent, SLOT(destroyApplets(const QString)));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user