From 49eb864b03b6370e403c6f048ab18d1478eab045 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 24 Jul 2010 16:37:07 +0000 Subject: Unify the search interface for non-indexed and indexed folders svn path=/trunk/KDE/kdebase/apps/; revision=1154073 --- src/panels/information/informationpanelcontent.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/panels/information/informationpanelcontent.cpp') diff --git a/src/panels/information/informationpanelcontent.cpp b/src/panels/information/informationpanelcontent.cpp index b18e6b26e..31128bafe 100644 --- a/src/panels/information/informationpanelcontent.cpp +++ b/src/panels/information/informationpanelcontent.cpp @@ -148,11 +148,11 @@ void InformationPanelContent::showItem(const KFileItem& item) m_pendingPreview = false; const KUrl itemUrl = item.url(); - const bool isNepomukSearchUrl = itemUrl.protocol().startsWith("nepomuk") && item.nepomukUri().isEmpty(); + const bool isSearchUrl = itemUrl.protocol().contains("search") && item.nepomukUri().isEmpty(); if (!applyPlace(itemUrl)) { setNameLabelText(item.text()); - if (isNepomukSearchUrl) { - // in the case of a Nepomuk query-URL the URL is not readable for humans + if (isSearchUrl) { + // in the case of a search-URL the URL is not readable for humans // (at least not useful to show in the Information Panel) KIconLoader iconLoader; QPixmap icon = iconLoader.loadIcon("nepomuk", -- cgit v1.3