mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 07:27:22 -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));
|
||||
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("/")));
|
||||
|
||||
Reference in New Issue
Block a user