Merge pull request #3852 from ngosang/filemanagers

Fix Konqueror detection in Plasma (KDE5)
This commit is contained in:
sledgehammer999 2015-10-05 04:09:57 -05:00
commit f781cc18a6

View File

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