From 6418033cc8d4ec2f31679418cb480af498dafb2c Mon Sep 17 00:00:00 2001 From: algebnaly <43877726+yalikes@users.noreply.github.com> Date: Sat, 12 Oct 2024 14:41:05 +0800 Subject: [PATCH] Add support for Thunar file manager PR #21531. Co-authored-by: yalikes Co-authored-by: Chocobo1 --- src/gui/utils.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/utils.cpp b/src/gui/utils.cpp index 3b3a809cc..c14bb4ed1 100644 --- a/src/gui/utils.cpp +++ b/src/gui/utils.cpp @@ -203,6 +203,10 @@ void Utils::Gui::openFolderSelect(const Path &path) { proc.startDetached(u"konqueror"_s, {u"--select"_s, path.toString()}); } + else if (output == u"thunar.desktop") + { + proc.startDetached(u"thunar"_s, {path.toString()}); + } else { // "caja" manager can't pinpoint the file, see: https://github.com/qbittorrent/qBittorrent/issues/5003