From: Carl Hetherington Date: Fri, 1 Feb 2019 22:19:37 +0000 (+0000) Subject: Always show splash even if we already have a config.xml. X-Git-Tag: v2.13.112~12 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=878267e97858c00714de3074ed81ebd92d52b146 Always show splash even if we already have a config.xml. --- diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc index 354297d49..f77cfacd3 100644 --- a/src/wx/wx_util.cc +++ b/src/wx/wx_util.cc @@ -455,13 +455,11 @@ maybe_show_splash () { wxSplashScreen* splash = 0; try { - if (!Config::have_existing ("config.xml")) { - wxBitmap bitmap; - boost::filesystem::path p = shared_path () / "splash.png"; - if (bitmap.LoadFile (std_to_wx (p.string ()), wxBITMAP_TYPE_PNG)) { - splash = new wxSplashScreen (bitmap, wxSPLASH_CENTRE_ON_SCREEN | wxSPLASH_NO_TIMEOUT, 0, 0, -1); - wxYield (); - } + wxBitmap bitmap; + boost::filesystem::path p = shared_path () / "splash.png"; + if (bitmap.LoadFile (std_to_wx (p.string ()), wxBITMAP_TYPE_PNG)) { + splash = new wxSplashScreen (bitmap, wxSPLASH_CENTRE_ON_SCREEN | wxSPLASH_NO_TIMEOUT, 0, 0, -1); + wxYield (); } } catch (boost::filesystem::filesystem_error& e) { /* Maybe we couldn't find the splash image; never mind */