From fb9d026ff55e753895543b21874d495f523c2cba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Du=C5=A1an=20Poizl?= Date: Sun, 9 Jun 2024 15:42:31 +0200 Subject: [PATCH] Open script folder on MacOS --- batchprocessing.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/batchprocessing.cpp b/batchprocessing.cpp index 5edc728..e2ac41b 100644 --- a/batchprocessing.cpp +++ b/batchprocessing.cpp @@ -8,6 +8,7 @@ #include #include #include +#include #include "scriptengine.h" #ifdef Q_OS_LINUX @@ -184,6 +185,9 @@ void BatchProcessing::openScriptDir() #ifdef Q_OS_WINDOWS QProcess::startDetached("explorer.exe", {QDir::toNativeSeparators(_scriptBasePath)}); #endif +#ifdef Q_OS_MACOS + QDesktopServices::openUrl(QUrl::fromLocalFile(_scriptBasePath)); +#endif } void BatchProcessing::runScript()