From ef7de49ec8a1fd183846f88416ee880b3355008a Mon Sep 17 00:00:00 2001 From: sledgehammer999 Date: Sat, 29 Aug 2015 23:47:57 +0300 Subject: [PATCH] Fix dolphin detection for KDE5. --- src/core/utils/misc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/utils/misc.cpp b/src/core/utils/misc.cpp index fe6baed74..1202dbfb9 100644 --- a/src/core/utils/misc.cpp +++ b/src/core/utils/misc.cpp @@ -592,7 +592,7 @@ void Utils::Misc::openFolderSelect(const QString& absolutePath) proc.start("xdg-mime", QStringList() << "query" << "default" << "inode/directory"); proc.waitForFinished(); output = proc.readLine().simplified(); - if (output == "dolphin.desktop") + if (output == "dolphin.desktop" || output == "org.kde.dolphin.desktop") proc.startDetached("dolphin", QStringList() << "--select" << Utils::Fs::toNativePath(path)); else if (output == "nautilus.desktop" || output == "org.gnome.Nautilus.desktop" || output == "nautilus-folder-handler.desktop")