mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-19 08:21:22 +00:00
temporary disable the ScrollPerPixel feature until a Qt-patch is supplied which fixes a possible crash
(see http://lists.kde.org/?l=kde-core-devel&m=119077433611662&w=2) svn path=/trunk/KDE/kdebase/apps/; revision=717132
This commit is contained in:
parent
7923d297f1
commit
c364f1b47a
|
@ -52,8 +52,11 @@ DolphinDetailsView::DolphinDetailsView(QWidget* parent, DolphinController* contr
|
|||
setDragDropMode(QAbstractItemView::DragDrop);
|
||||
setDropIndicatorShown(false);
|
||||
setAlternatingRowColors(true);
|
||||
setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
|
||||
setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
|
||||
// TODO: enable ScrollPerPixel again as soon as a Qt-patch
|
||||
// is supplied which fixes a possible crash
|
||||
// (see http://lists.kde.org/?l=kde-core-devel&m=119077433611662&w=2)
|
||||
//setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
|
||||
//setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
|
||||
|
||||
setMouseTracking(true);
|
||||
viewport()->setAttribute(Qt::WA_Hover);
|
||||
|
|
|
@ -40,8 +40,11 @@ SidebarTreeView::SidebarTreeView(QWidget* parent) :
|
|||
setDragDropMode(QAbstractItemView::DragDrop);
|
||||
setDropIndicatorShown(false);
|
||||
setAutoExpandDelay(300);
|
||||
setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
|
||||
setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
|
||||
// TODO: enable ScrollPerPixel again as soon as a Qt-patch
|
||||
// is supplied which fixes a possible crash
|
||||
// (see http://lists.kde.org/?l=kde-core-devel&m=119077433611662&w=2)
|
||||
//setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
|
||||
//setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
|
||||
|
||||
viewport()->setAttribute(Qt::WA_Hover);
|
||||
|
||||
|
|
Loading…
Reference in a new issue