diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2019-10-11 14:29:55 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2019-10-11 14:29:55 -0600 |
commit | 54acf6af6a4b571863e1c69be4defad6b222bc32 (patch) | |
tree | 22249488f032afe53c6768e8d1dabfa8c16b2c32 /gtk2_ardour/ardour_ui_startup.cc | |
parent | da2d6312c43213241e0a60656d631a89255d2951 (diff) |
enforce singleton nature of Splash a little more rigorously, and slightly rationalize it's use
Diffstat (limited to 'gtk2_ardour/ardour_ui_startup.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui_startup.cc | 32 |
1 files changed, 1 insertions, 31 deletions
diff --git a/gtk2_ardour/ardour_ui_startup.cc b/gtk2_ardour/ardour_ui_startup.cc index 38a0225f78..1310a89e4d 100644 --- a/gtk2_ardour/ardour_ui_startup.cc +++ b/gtk2_ardour/ardour_ui_startup.cc @@ -325,40 +325,10 @@ ARDOUR_UI::keyboard_settings () const return node; } - -void -ARDOUR_UI::loading_message (const std::string& msg) -{ - if (ARDOUR_COMMAND_LINE::no_splash) { - return; - } - - if (!splash) { - show_splash (); - } - - splash->message (msg); -} - -void -ARDOUR_UI::show_splash () -{ - if (splash == 0) { - try { - splash = new Splash; - } catch (...) { - return; - } - } - - splash->display (); -} - void ARDOUR_UI::hide_splash () { - delete splash; - splash = 0; + Splash::drop (); } void |