Commit 35a51c65 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

qt: Delete the settings after the MainInputManager

The input_manager may want to update the RecentMRLs upon destruction,
and needs a valid settings instance to do so
parent c1e33a8a
......@@ -629,12 +629,12 @@ static void *Thread( void *obj )
/* */
delete p_intf->p_sys->pl_model;
/* Delete the configuration. Application has to be deleted after that. */
delete p_intf->p_sys->mainSettings;
/* Destroy the MainInputManager */
MainInputManager::killInstance();
/* Delete the configuration. Application has to be deleted after that. */
delete p_intf->p_sys->mainSettings;
/* Delete the application automatically */
return NULL;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment