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

List:       kde-commits
Subject:    KDE/kdebase/runtime/knetattach
From:       Christian Loose <christian.loose () hamburg ! de>
Date:       2009-03-30 16:25:14
Message-ID: 1238430314.152242.18502.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 946968 by cloose:

Change KToolInvocation::invokeBrowser() to KRun::runUrl().

The added network folder opens now in dolphin instead of konqueror.

BUG: 188041



 M  +3 -1      knetattach.cpp  


--- trunk/KDE/kdebase/runtime/knetattach/knetattach.cpp #946967:946968
@@ -32,6 +32,8 @@
 #include <kdirnotify.h>
 #include <kcharsets.h>
 
+#include <KRun>
+
 KNetAttach::KNetAttach( QWidget* parent )
     : Q3Wizard( parent ), Ui_KNetAttach()
 {
@@ -215,7 +217,7 @@
 	return;
     }
 
-    KToolInvocation::invokeBrowser(url.url());
+    KRun::runUrl(url, "inode/directory", this);
 
     QString name = _connectionName->text().trimmed();
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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