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

List:       kde-commits
Subject:    KDE/kdebase/apps/konqueror/src
From:       David Faure <faure () kde ! org>
Date:       2010-07-07 9:57:32
Message-ID: 20100707100720.17221AC8E6 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1147044 by dfaure:

Forwardport: Don't show the "open with" dialog when clicking on a url to something \
handled by a helper protocol. The use case was "clicking on a ssh icon in the \
network:/ ioslave".


 M  +1 -1      konqmainwindow.cpp  


--- trunk/KDE/kdebase/apps/konqueror/src/konqmainwindow.cpp #1147043:1147044
@@ -661,7 +661,7 @@
                 mimeType = "text/plain"; // view, don't execute
             // Remote URL: save or open ?
             QString protClass = KProtocolInfo::protocolClass(url.protocol());
-            bool open = url.isLocalFile() || protClass==":local";
+            bool open = url.isLocalFile() || protClass==":local" || \
KProtocolInfo::isHelperProtocol(url);  if ( !open ) {
                 KParts::BrowserOpenOrSaveQuestion dlg(this, url, mimeType);
                 dlg.setFeatures(KParts::BrowserOpenOrSaveQuestion::ServiceSelection);



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

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