mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
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:
parent
d4103e8ecb
commit
d462712eaf
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue