Display the filename / URL that a screen certificate was obtained from (#1894).
[dcpomatic.git] / src / wx / barco_alchemy_certificate_panel.cc
index a1d6167aacf6ab553b85eda94c4806cc81f0b03c..981efee1f18990f5a6708794a99cdc3ba14b555c 100644 (file)
@@ -64,7 +64,7 @@ BarcoAlchemyCertificatePanel::do_download ()
                serial
                );
 
                serial
                );
 
-       optional<string> error = get_from_url (url, true, false, boost::bind (&DownloadCertificatePanel::load_certificate, this, _1));
+       auto error = get_from_url (url, true, false, boost::bind (&DownloadCertificatePanel::load_certificate, this, _1, _2));
        if (error) {
                _dialog->message()->SetLabel(wxT(""));
                error_dialog (this, std_to_wx(*error));
        if (error) {
                _dialog->message()->SetLabel(wxT(""));
                error_dialog (this, std_to_wx(*error));