mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
Add support for Thunar file manager
PR #21531. Co-authored-by: yalikes <algebnaly@qq.com> Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com>
This commit is contained in:
@@ -203,6 +203,10 @@ void Utils::Gui::openFolderSelect(const Path &path)
|
|||||||
{
|
{
|
||||||
proc.startDetached(u"konqueror"_s, {u"--select"_s, path.toString()});
|
proc.startDetached(u"konqueror"_s, {u"--select"_s, path.toString()});
|
||||||
}
|
}
|
||||||
|
else if (output == u"thunar.desktop")
|
||||||
|
{
|
||||||
|
proc.startDetached(u"thunar"_s, {path.toString()});
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// "caja" manager can't pinpoint the file, see: https://github.com/qbittorrent/qBittorrent/issues/5003
|
// "caja" manager can't pinpoint the file, see: https://github.com/qbittorrent/qBittorrent/issues/5003
|
||||||
|
|||||||
Reference in New Issue
Block a user