]> cloud.milkyroute.net Git - dolphin.git/commitdiff
fixed issue that the Information Panel might show some (for the user confusing) infor...
authorPeter Penz <peter.penz19@gmail.com>
Fri, 15 Jan 2010 13:55:13 +0000 (13:55 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Fri, 15 Jan 2010 13:55:13 +0000 (13:55 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=1075065

src/panels/information/informationpanelcontent.cpp

index 889a0272fa0ac57404e88227dbbc542a6dd57028..3bb54b0bd22a78450e5d581e099fcfb90d13093e 100644 (file)
@@ -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