Support drag and drop onto the content list (#1220).
[dcpomatic.git] / src / wx / dolby_doremi_certificate_panel.cc
index 817867cc108055bfb2d37d3747c6484047dbad24..25f7392396b39000333cbdaf60f11cb781774f26 100644 (file)
 #include <dcp/raw_convert.h>
 #include <curl/curl.h>
 #include <zip.h>
-#include <iostream>
 
 
-using std::cout;
 using std::function;
 using std::list;
 using std::string;
@@ -199,7 +197,7 @@ DolbyDoremiCertificatePanel::do_download ()
        auto i = urls.begin ();
        auto j = files.begin ();
        while (!ok && i != urls.end ()) {
-               auto error = get_from_zip_url (*i++, *j++, true, true, boost::bind(&DownloadCertificatePanel::load_certificate, this, _1));
+               auto error = get_from_zip_url (*i++, *j++, true, true, boost::bind(&DownloadCertificatePanel::load_certificate, this, _1, _2));
                if (error) {
                        errors.push_back (error.get ());
                } else {