// Prepare the global settings since logging needs them early on
pv::GlobalSettings settings;
+ settings.add_change_handler(&a); // Only the application object can't register itself
settings.save_internal_defaults();
settings.set_defaults_where_needed();
+ settings.apply_language();
settings.apply_theme();
pv::logging.init();
w.add_default_session();
else
for (string& open_file : open_files)
- w.add_session_with_file(open_file, open_file_format,
- open_setup_file);
+ w.add_session_with_file(open_file, open_file_format, open_setup_file);
#ifdef ENABLE_SIGNALS
if (SignalHandler::prepare_signals()) {