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.
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 ofwindow(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.