-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open from filesystem macos #128
Open from filesystem macos #128
Conversation
… use to load a file
…n pointers to the main window
…e and icon. The graph file icon is provided by Ugo Santana
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good in principle, but see the two comments in the code.
GuiApp/coreapplication.h
Outdated
settings.writeSetting(SettingTag::licenseAccepted, true); | ||
} | ||
|
||
if (!settings.readSetting(SettingTag::licenseAccepted, false).toBool()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a copy & paste error - the license showing code block seems to be duplicated.
GuiApp/coreapplication.h
Outdated
} | ||
|
||
return QApplication::event(event); | ||
} | ||
|
||
int exec() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does this rather hefty function implementation have to be in the header file?
Addresses issue #47 for macOS
Also allows application to be understood as able to view/edit .graph files
Also attaches type name to .graph files ("Graph File") and a relevant icon provided by Ugo Santana