Now that we talk about the column view => smooth scrolling

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=716865
This commit is contained in:
Rafael Fernández López 2007-09-25 12:42:41 +00:00
parent d4103e8ecb
commit d462712eaf

View file

@ -414,6 +414,8 @@ DolphinColumnView::DolphinColumnView(QWidget* parent, DolphinController* control
this, SLOT(moveContentHorizontally(int)));
ColumnWidget* column = new ColumnWidget(viewport(), this, m_controller->url());
column->setVerticalScrollMode(ColumnWidget::ScrollPerPixel);
column->setHorizontalScrollMode(ColumnWidget::ScrollPerPixel);
m_columns.append(column);
setActiveColumnIndex(0);
@ -590,6 +592,8 @@ void DolphinColumnView::showColumn(const KUrl& url)
columnIndex++;
ColumnWidget* column = new ColumnWidget(viewport(), this, childUrl);
column->setVerticalScrollMode(ColumnWidget::ScrollPerPixel);
column->setHorizontalScrollMode(ColumnWidget::ScrollPerPixel);
column->setModel(model());
column->setRootIndex(proxyIndex);
column->setActive(false);