Remove some unused code.
authorCarl Hetherington <cth@carlh.net>
Sun, 23 Sep 2012 21:37:17 +0000 (22:37 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 23 Sep 2012 21:37:17 +0000 (22:37 +0100)
src/wx/job_wrapper.cc

index 4c037ae284508f82feb4ac8cd091f412ae664189..ad83aa271da0d8c43d08b7fe6b9b5c67aeeee58e 100644 (file)
@@ -36,11 +36,7 @@ JobWrapper::make_dcp (wxWindow* parent, Film* film, bool transcode)
                film->make_dcp (transcode);
        } catch (BadSettingError& e) {
                stringstream s;
-               if (e.setting() == "dcp_long_name") {
-                       s << "Could not make DCP: long name is invalid (" << e.what() << ")";
-               } else {
-                       s << "Bad setting for " << e.setting() << "(" << e.what() << ")";
-               }
+               s << "Bad setting for " << e.setting() << "(" << e.what() << ")";
                error_dialog (parent, s.str ());
        } catch (std::exception& e) {
                stringstream s;