mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 08:16:16 -07:00
Fix Konqueror detection in Plasma (KDE5)
This commit is contained in:
parent
79617949c1
commit
73fb0a6309
1 changed files with 1 additions and 1 deletions
|
@ -601,7 +601,7 @@ void Utils::Misc::openFolderSelect(const QString& absolutePath)
|
||||||
proc.startDetached("caja", QStringList() << "--no-desktop" << Utils::Fs::toNativePath(path));
|
proc.startDetached("caja", QStringList() << "--no-desktop" << Utils::Fs::toNativePath(path));
|
||||||
else if (output == "nemo.desktop")
|
else if (output == "nemo.desktop")
|
||||||
proc.startDetached("nemo", QStringList() << "--no-desktop" << Utils::Fs::toNativePath(path));
|
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));
|
proc.startDetached("konqueror", QStringList() << "--select" << Utils::Fs::toNativePath(path));
|
||||||
else
|
else
|
||||||
openPath(path.left(path.lastIndexOf("/")));
|
openPath(path.left(path.lastIndexOf("/")));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue