Allow customisation of error report email address.
[dcpomatic.git] / src / tools / dcpomatic_combiner.cc
index a28e063e58461195c6f1397e9dd68750a008de12..26ca0022b2d536e0a4428c8be185769046e06ec7 100644 (file)
@@ -297,21 +297,23 @@ public:
                        error_dialog (
                                0,
                                wxString::Format(
-                                       _("An exception occurred: %s (%s)\n\n") + REPORT_PROBLEM,
-                                       std_to_wx (e.what()),
-                                       std_to_wx (e.file().string().c_str ())
+                                       _("An exception occurred: %s (%s)\n\n%s"),
+                                       std_to_wx(e.what()),
+                                       std_to_wx(e.file().string().c_str()),
+                                       wx::report_problem()
                                        )
                                );
                } catch (exception& e) {
                        error_dialog (
                                0,
                                wxString::Format(
-                                       _("An exception occurred: %s.\n\n") + REPORT_PROBLEM,
-                                       std_to_wx (e.what ())
+                                       _("An exception occurred: %s\n\n%s"),
+                                       std_to_wx(e.what()),
+                                       wx::report_problem()
                                        )
                                );
                } catch (...) {
-                       error_dialog (nullptr, _("An unknown exception occurred.") + "  " + REPORT_PROBLEM);
+                       error_dialog(nullptr, _("An unknown exception occurred.") + "  " + wx::report_problem());
                }
        }