[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/kio/kio
From:       David Faure <faure () kde ! org>
Date:       2010-10-15 16:01:37
Message-ID: 20101015160137.AA4EDAC895 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1186279 by dfaure:

Forwardport 1186278: Also assume that the application is a KDE application when its \
desktop file says Type=Service rather than Type=Application. This fixes launching \
khelpcenter using Help / Foo Handbook (F1), which would use kioexec for "downloading" \
the help:/ url.


 M  +2 -2      krun.cpp  


--- trunk/KDE/kdelibs/kio/kio/krun.cpp #1186278:1186279
@@ -368,9 +368,9 @@
     }
     else {
         if (supportedProtocols.isEmpty()) {
-            // compat mode: assume KIO if not set and it's a KDE app
+            // compat mode: assume KIO if not set and it's a KDE app (or a KDE \
                service)
             const QStringList categories = \
                _service.property("Categories").toStringList();
-            if (categories.contains("KDE")) {
+            if (categories.contains("KDE") || !_service.isApplication()) {
                 supportedProtocols.append("KIO");
             }
             else { // if no KDE app, be a bit over-generic


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic