From: Peter Penz Date: Fri, 15 Jan 2010 13:55:13 +0000 (+0000) Subject: fixed issue that the Information Panel might show some (for the user confusing) infor... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/b4f7d1280334c1b4863d8454dab6b22f60a4af81?ds=inline fixed issue that the Information Panel might show some (for the user confusing) information about a nepomuk protocol svn path=/trunk/KDE/kdebase/apps/; revision=1075065 --- diff --git a/src/panels/information/informationpanelcontent.cpp b/src/panels/information/informationpanelcontent.cpp index 889a0272f..3bb54b0bd 100644 --- a/src/panels/information/informationpanelcontent.cpp +++ b/src/panels/information/informationpanelcontent.cpp @@ -147,7 +147,7 @@ void InformationPanelContent::showItem(const KFileItem& item) m_pendingPreview = false; const KUrl itemUrl = item.url(); - const bool isNepomukSearchUrl = (itemUrl.protocol() == "nepomuksearch") && item.nepomukUri().isEmpty(); + const bool isNepomukSearchUrl = itemUrl.protocol().startsWith("nepomuk") && item.nepomukUri().isEmpty(); if (!applyPlace(itemUrl)) { if (isNepomukSearchUrl) { // in the case of a Nepomuk query-URL the URL is not readable for humans