X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/ffe9f62839d5bc908dfd3d6b2c237464c907a78c..7bd8a826f40b3973d127d32f8f00a625c08d1c1d:/src/dolphindetailsview.cpp diff --git a/src/dolphindetailsview.cpp b/src/dolphindetailsview.cpp index 6fe4709ff..2eca0860c 100644 --- a/src/dolphindetailsview.cpp +++ b/src/dolphindetailsview.cpp @@ -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); @@ -141,6 +144,9 @@ bool DolphinDetailsView::event(QEvent* event) if (!settings->showType()) { hideColumn(DolphinModel::Type); } + + hideColumn(DolphinModel::Rating); + hideColumn(DolphinModel::Tags); } return QTreeView::event(event);