mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 18:58:36 +12:00
Welcome Dialog: Reject users that reject our TOS
* Improved welcome dialog * "show at startup" checkbox always changeable
This commit is contained in:
parent
24655fd975
commit
68b7e5971d
4 changed files with 81 additions and 38 deletions
|
@ -1848,12 +1848,29 @@ void main_window::SaveWindowState() const
|
|||
// Save gui settings
|
||||
m_gui_settings->SetValue(gui::mw_geometry, saveGeometry(), false);
|
||||
m_gui_settings->SetValue(gui::mw_windowState, saveState(), false);
|
||||
m_gui_settings->SetValue(gui::mw_mwState, m_mw->saveState(), true);
|
||||
|
||||
// Save column settings
|
||||
m_game_list_frame->SaveSettings();
|
||||
// Save splitter state
|
||||
m_debugger_frame->SaveSettings();
|
||||
// NOTE:
|
||||
//
|
||||
// This method is also invoked in case the gui_application::Init() method failed ("false" was returned)
|
||||
// to initialize some modules leaving other modules uninitialized (NULL pointed).
|
||||
// So, the following checks on NULL pointer are provided before accessing the related module's object
|
||||
|
||||
if (m_mw)
|
||||
{
|
||||
m_gui_settings->SetValue(gui::mw_mwState, m_mw->saveState(), true);
|
||||
}
|
||||
|
||||
if (m_game_list_frame)
|
||||
{
|
||||
// Save column settings
|
||||
m_game_list_frame->SaveSettings();
|
||||
}
|
||||
|
||||
if (m_debugger_frame)
|
||||
{
|
||||
// Save splitter state
|
||||
m_debugger_frame->SaveSettings();
|
||||
}
|
||||
}
|
||||
|
||||
void main_window::RepaintThumbnailIcons()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue