If the vertical scrollbar got triggered by the wheel, the autoscrolling should be reactivated too.

svn path=/trunk/KDE/kdebase/apps/; revision=1191100
This commit is contained in:
Peter Penz 2010-10-29 15:17:32 +00:00
parent 2f1051d1b4
commit 1fdd594ea5

View file

@ -182,6 +182,8 @@ void FoldersPanel::showEvent(QShowEvent* event)
this, SLOT(slotHorizontalScrollBarMoved(int)));
connect(m_treeView->verticalScrollBar(), SIGNAL(sliderMoved(int)),
this, SLOT(slotVerticalScrollBarMoved(int)));
connect(m_treeView->verticalScrollBar(), SIGNAL(valueChanged(int)),
this, SLOT(slotVerticalScrollBarMoved(int)));
QVBoxLayout* layout = new QVBoxLayout(this);
layout->setMargin(0);