X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Ftools%2Fdcpomatic_batch.cc;h=dcda39fd8042c336a3302f293dcd5c21e69ea5e5;hp=79f1b39fa0f7080efda7cef3c9759bb5f37410dd;hb=f5bd787fb71466a6187050086b2890b9b0ac9294;hpb=8afad10c394462c66f68ac00698da38c5b0b8721 diff --git a/src/tools/dcpomatic_batch.cc b/src/tools/dcpomatic_batch.cc index 79f1b39fa..dcda39fd8 100644 --- a/src/tools/dcpomatic_batch.cc +++ b/src/tools/dcpomatic_batch.cc @@ -401,7 +401,7 @@ class App : public wxApp SetAppName (_("DCP-o-matic Batch Converter")); is_batch_converter = true; - Config::FailedToLoad.connect (boost::bind(&App::config_failed_to_load, this)); + Config::FailedToLoad.connect(boost::bind(&App::config_failed_to_load, this, _1)); Config::Warning.connect (boost::bind(&App::config_warning, this, _1)); auto splash = maybe_show_splash (); @@ -488,9 +488,9 @@ class App : public wxApp return true; } - void config_failed_to_load () + void config_failed_to_load(Config::LoadFailure what) { - message_dialog (_frame, _("The existing configuration failed to load. Default values will be used instead. These may take a short time to create.")); + report_config_load_failure(_frame, what); } void config_warning (string m)