From f11c699fa203dd2cde0e85c63a6d186e3fa6a3de Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 26 Oct 2007 17:36:16 +0000 Subject: due to the recent tagging freeze this commit contains several fixes in one: * the filterbar now also filters directories (works also in the column-view :-)) * The "Additional Information" menu entry now also works for showing/hiding the columns of the details view. This also implies that the columns for the details view can now be adjusted per directory -> we have now a consistent behavior between the icons view and details view. Still open: the view properties dialog must be fixed * Don't show a "Nepomuk not available" error message when starting Dolphin and Nepomuk is not available. * Fix issue that the information panel blocked the application because of parsing the full meta data of a huge file. svn path=/trunk/KDE/kdebase/apps/; revision=729704 --- src/infosidebarpage.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/infosidebarpage.cpp') diff --git a/src/infosidebarpage.cpp b/src/infosidebarpage.cpp index e1bf12702..4716ea2d5 100644 --- a/src/infosidebarpage.cpp +++ b/src/infosidebarpage.cpp @@ -296,7 +296,12 @@ void InfoSidebarPage::showMetaInfo() // TODO: See convertMetaInfo below, find a way to display only interesting information // in a readable way - const KFileMetaInfo metaInfo(fileItem.url()); + const KFileMetaInfo::WhatFlags flags = KFileMetaInfo::Fastest | + KFileMetaInfo::TechnicalInfo | + KFileMetaInfo::ContentInfo | + KFileMetaInfo::Thumbnail; + const QString path = fileItem.url().url(); + const KFileMetaInfo metaInfo(path, QString(), flags); if (metaInfo.isValid()) { const QHash& items = metaInfo.items(); QHash::const_iterator it = items.constBegin(); -- cgit v1.3