Fix file opening on macOS

This commit is contained in:
Lab
2026-03-02 15:25:57 -08:00
parent e0d5a799b4
commit c6e5f6508f

View File

@@ -3202,6 +3202,9 @@ int main(int argc, char* argv[]) {
#ifdef _WIN32 #ifdef _WIN32
SetUnhandledExceptionFilter(crashHandler); SetUnhandledExceptionFilter(crashHandler);
#endif #endif
#ifdef Q_OS_MACOS
QCoreApplication::setAttribute(Qt::AA_DontUseNativeDialogs);
#endif
DarkApp app(argc, argv); DarkApp app(argc, argv);
app.setApplicationName("Reclass"); app.setApplicationName("Reclass");