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);
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);