Skip to content
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

Fix initial settings #54

Merged
merged 2 commits into from
Jul 7, 2020
Merged

Conversation

mboerwinkle
Copy link
Contributor

When opening fstl, the initial rebuild_recent_files (window.cpp, 75) fails because the QCoreApplication set functions (which are used to determine the location for persistent settings files) have not yet been set. The initial rebuild happens as part of window(new Window()) in the initialization section of the app constructor, but the core application settings get set later in the app construction.
This pull moves those core application setting assignments to main.cpp so that any settings loaded as any part of the app will always know where they should read from.

@DeveloperPaul123
Copy link
Member

Looks ok to me. I'll wait for @mkeeter to take a look

@mkeeter
Copy link
Collaborator

mkeeter commented Jul 7, 2020

Looks good, thanks!

@mkeeter mkeeter merged commit 9ca5a62 into fstl-app:master Jul 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants