mirror of
https://github.com/NohamR/Reclass.git
synced 2026-05-10 19:59:21 +00:00
Merge pull request #6 from LabGuy94/add-macos-support
Fix file opening on macOS
This commit is contained in:
@@ -3242,6 +3242,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