From: Jordi Polo Date: Wed, 12 Nov 2008 14:48:55 +0000 (+0000) Subject: Launch Konqueror if the user enters an unsupported protocol X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/576e998dcd2dcc7c3d992843b2c271d1ef8c13fa?ds=inline Launch Konqueror if the user enters an unsupported protocol BUG:171626 svn path=/trunk/KDE/kdebase/apps/; revision=883279 --- diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp index 82ed40d41..6795aca9b 100644 --- a/src/dolphinviewcontainer.cpp +++ b/src/dolphinviewcontainer.cpp @@ -42,6 +42,7 @@ #include #include #include +#include #include "dolphinmodel.h" #include "dolphincolumnview.h" @@ -357,7 +358,9 @@ void DolphinViewContainer::restoreView(const KUrl& url) } else { // The URL navigator only checks for validity, not // if the URL can be listed. - showErrorMessage(i18nc("@info:status", "Protocol not supported")); + showErrorMessage(i18nc("@info:status", "Protocol not supported by Dolphin, Konqueror has been launched")); + QString command = "konqueror " + url.pathOrUrl(); + KRun::runCommand(command, "konqueror", "konqueror", this); } }