┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphindetailsview.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-03-11 16:47:12 +0000
committerPeter Penz <[email protected]>2007-03-11 16:47:12 +0000
commit25349096ae7fe344613d35e5548cac1a91b60fd1 (patch)
tree92ab776bc1a02653858148321b3defe80fe74063 /src/dolphindetailsview.cpp
parent66efe4d7061344dcd2070979dbe6ec4cb50df44b (diff)
Allow to set the 'AdditionalInformation' property from KFileItemDelegate for each folder. Use case:
- Icons view for images: set 'Size' as additional property - Icons view for media: show 'MIME type' as additional property - Default Icons view: don't show any addtional property for a clean layout. TODO: KFileItemDelagate::AdditionalInformation intersects with KDirModel::Columns when used in combination with the details view. Assure that the user does not get confronted with such implementation details in the user interface. svn path=/trunk/KDE/kdebase/apps/; revision=641525
Diffstat (limited to 'src/dolphindetailsview.cpp')
-rw-r--r--src/dolphindetailsview.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/dolphindetailsview.cpp b/src/dolphindetailsview.cpp
index c019f8eb0..123cfe3b3 100644
--- a/src/dolphindetailsview.cpp
+++ b/src/dolphindetailsview.cpp
@@ -77,9 +77,6 @@ DolphinDetailsView::DolphinDetailsView(QWidget* parent, DolphinController* contr
m_viewOptions = QTreeView::viewOptions();
m_viewOptions.font = QFont(settings->fontFamily(), settings->fontSize());
updateDecorationSize();
-
- KFileItemDelegate* delegate = new KFileItemDelegate(parent);
- setItemDelegate(delegate);
}
DolphinDetailsView::~DolphinDetailsView()