mirror of
https://github.com/NohamR/Reclass.git
synced 2026-05-10 19:59:21 +00:00
Fix file opening on macOS
This commit is contained in:
1 parent
e0d5a799b4
commit
c6e5f6508f
1 file changed
+3
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user