Commit a4dbde88 authored by Rafael Fernández López's avatar Rafael Fernández López
Browse files

Fix the scrollbar issue. We can live with the setSingleStep nasty workaround...

Fix the scrollbar issue. We can live with the setSingleStep nasty workaround for now. Anyway we can adapt it to fit better in the context.

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=677702
parent 9fea47a9
......@@ -386,6 +386,9 @@ void KListView::Private::updateScrollbars()
{
int lastItemBottom = cachedRectIndex(lastIndex).bottom() +
listView->spacing() - listView->viewport()->height();
listView->verticalScrollBar()->setSingleStep(listView->viewport()->height() / 10);
listView->verticalScrollBar()->setPageStep(listView->viewport()->height());
listView->verticalScrollBar()->setRange(0, lastItemBottom);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment