mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-20 00:41:23 +00:00
Backport. Show the vertical scrollbar only when necessary.
svn path=/branches/KDE/4.0/kdebase/apps/; revision=769333
This commit is contained in:
parent
cdc40d4398
commit
cec2a40f8b
|
@ -63,7 +63,7 @@ DolphinColumnWidget::DolphinColumnWidget(QWidget* parent,
|
|||
setMouseTracking(true);
|
||||
viewport()->setAttribute(Qt::WA_Hover);
|
||||
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
|
||||
setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
|
||||
setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded);
|
||||
setSelectionBehavior(SelectItems);
|
||||
setSelectionMode(QAbstractItemView::ExtendedSelection);
|
||||
setDragDropMode(QAbstractItemView::DragDrop);
|
||||
|
|
Loading…
Reference in a new issue