From a8ada5e6857d6dec25edf8ef57af9f27a91471c1 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 20 Mar 2008 16:58:59 +0000 Subject: QListView does not support having a margin for grids. Originally it has been tried to bypass this by overwriting QListView::visualRect(), but this has some side effects (see #155378 and #155575). The clean approach is to return a proper size hint in the file item delegate. Currently a custom item delegate has been made for Dolphin, but we'll discuss whether it makes sense providing this feature already in KFileItemDelegate... BUG: 155378 BUG: 155575 CCMAIL: fredrik@kde.org svn path=/trunk/KDE/kdebase/apps/; revision=788095 --- src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index fcecacd44..6af8fc9f3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -18,6 +18,7 @@ set(dolphinprivate_LIB_SRCS dolphincolumnview.cpp dolphincolumnwidget.cpp dolphindropcontroller.cpp + dolphinfileitemdelegate.cpp dolphinsortfilterproxymodel.cpp draganddrophelper.cpp dolphinmodel.cpp -- cgit v1.3.1