}
show_splash ();
- splash->message (msg);
- flush_pending ();
+ if (splash) {
+ splash->message (msg);
+ flush_pending ();
+ }
}
/** @param quit_on_cancel true if exit() should be called if the user clicks `cancel' in the new session dialog */
try {
splash = new Splash;
} catch (...) {
+ cerr << "Splash could not be created\n";
return;
}
}