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

List:       kde-commits
Subject:    branches/KDE/4.5/kdelibs/kio/kio
From:       David Faure <faure () kde ! org>
Date:       2010-10-15 16:00:28
Message-ID: 20101015160028.1724EAC895 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1186278 by dfaure:

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  


--- branches/KDE/4.5/kdelibs/kio/kio/krun.cpp #1186277:1186278
@@ -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