From: Peter Penz Date: Fri, 29 Oct 2010 15:17:32 +0000 (+0000) Subject: If the vertical scrollbar got triggered by the wheel, the autoscrolling should be... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/1fdd594ea5efc3cf75082ce96a511c5cabb663e5?ds=sidebyside If the vertical scrollbar got triggered by the wheel, the autoscrolling should be reactivated too. svn path=/trunk/KDE/kdebase/apps/; revision=1191100 --- diff --git a/src/panels/folders/folderspanel.cpp b/src/panels/folders/folderspanel.cpp index b825cb1fa..45da8d8a2 100644 --- a/src/panels/folders/folderspanel.cpp +++ b/src/panels/folders/folderspanel.cpp @@ -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);