┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2010-01-15 13:55:13 +0000
committerPeter Penz <[email protected]>2010-01-15 13:55:13 +0000
commitb4f7d1280334c1b4863d8454dab6b22f60a4af81 (patch)
tree68395cc8914210818eca6f734de72124dd3b8392
parent6fcfb3c96c32af48b162ffcaf9284c67ea3345d1 (diff)
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
-rw-r--r--src/panels/information/informationpanelcontent.cpp2
1 files changed, 1 insertions, 1 deletions
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