From c6e5f6508f0361693d7bfd81728f46c0ac56165c Mon Sep 17 00:00:00 2001 From: Lab Date: Mon, 2 Mar 2026 15:25:57 -0800 Subject: [PATCH] Fix file opening on macOS --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 565070e..af7b16b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3202,6 +3202,9 @@ int main(int argc, char* argv[]) { #ifdef _WIN32 SetUnhandledExceptionFilter(crashHandler); #endif +#ifdef Q_OS_MACOS + QCoreApplication::setAttribute(Qt::AA_DontUseNativeDialogs); +#endif DarkApp app(argc, argv); app.setApplicationName("Reclass");