diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-09-23 22:37:17 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-09-23 22:37:17 +0100 |
| commit | 05be486efc8360bc1bbbf1da8526135d6f2aa060 (patch) | |
| tree | 232ef6188ae213a3b54347d2de5c3874b83056eb /src | |
| parent | 4a33c58b838b5926369ab68d0a0cb3469778c02c (diff) | |
Remove some unused code.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/job_wrapper.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/wx/job_wrapper.cc b/src/wx/job_wrapper.cc index 4c037ae28..ad83aa271 100644 --- a/src/wx/job_wrapper.cc +++ b/src/wx/job_wrapper.cc @@ -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; |
