Fix Konqueror detection in Plasma (KDE5)

(manual backport from master)
This commit is contained in:
sledgehammer999 2015-10-08 00:53:21 +03:00
commit 291d006740

View file

@ -850,7 +850,7 @@ void misc::openFolderSelect(const QString& absolutePath)
proc.startDetached("caja", QStringList() << "--no-desktop" << fsutils::toNativePath(path));
else if (output == "nemo.desktop")
proc.startDetached("nemo", QStringList() << "--no-desktop" << fsutils::toNativePath(path));
else if (output == "kfmclient_dir.desktop")
else if (output == "konqueror.desktop" || output == "kfmclient_dir.desktop")
proc.startDetached("konqueror", QStringList() << "--select" << fsutils::toNativePath(path));
else
openPath(path.left(path.lastIndexOf("/")));