mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 15:37:26 -06:00
Fix Konqueror detection in Plasma (KDE5)
(manual backport from master)
This commit is contained in:
@@ -850,7 +850,7 @@ void misc::openFolderSelect(const QString& absolutePath)
|
|||||||
proc.startDetached("caja", QStringList() << "--no-desktop" << fsutils::toNativePath(path));
|
proc.startDetached("caja", QStringList() << "--no-desktop" << fsutils::toNativePath(path));
|
||||||
else if (output == "nemo.desktop")
|
else if (output == "nemo.desktop")
|
||||||
proc.startDetached("nemo", QStringList() << "--no-desktop" << fsutils::toNativePath(path));
|
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));
|
proc.startDetached("konqueror", QStringList() << "--select" << fsutils::toNativePath(path));
|
||||||
else
|
else
|
||||||
openPath(path.left(path.lastIndexOf("/")));
|
openPath(path.left(path.lastIndexOf("/")));
|
||||||
|
|||||||
Reference in New Issue
Block a user