Display the filename / URL that a screen certificate was obtained from (#1894).
[dcpomatic.git] / src / wx / gdc_certificate_panel.cc
index f7f86895df931eaaf307d0277a2b1c2914d74465..e670f01eb4815f543a07cf96ac061e88ef89f031 100644 (file)
@@ -61,7 +61,7 @@ GDCCertificatePanel::do_download ()
                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(""));