X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/e7bd514a39f0b07ddfec85f5f7b391e16af7d279..a49fe38e3eb59e8a5893bfe79f35a51c0acbb4eb:/src/dolphinviewcontainer.cpp diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp index ad79d6bb1..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); } } @@ -369,7 +372,7 @@ void DolphinViewContainer::saveRootUrl(const KUrl& url) void DolphinViewContainer::dropUrls(const KUrl& destination, QDropEvent* event) { - DragAndDropHelper::dropUrls(KFileItem(), destination, event, this); + DragAndDropHelper::instance().dropUrls(KFileItem(), destination, event, this); } void DolphinViewContainer::redirect(const KUrl& oldUrl, const KUrl& newUrl)