Qt: show welcome dialog before showing the app

Fixes interference with update manager
This commit is contained in:
Megamouse 2020-03-22 14:49:49 +01:00
parent 13e166084d
commit 532215fb81
2 changed files with 9 additions and 9 deletions

View file

@ -69,17 +69,17 @@ void gui_application::Init()
// Create connects to propagate events throughout Gui.
InitializeConnects();
if (m_main_window)
{
m_main_window->Init();
}
if (m_gui_settings->GetValue(gui::ib_show_welcome).toBool())
{
welcome_dialog* welcome = new welcome_dialog();
welcome->exec();
}
if (m_main_window)
{
m_main_window->Init();
}
#ifdef WITH_DISCORD_RPC
// Discord Rich Presence Integration
if (m_gui_settings->GetValue(gui::m_richPresence).toBool())