projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a33c58
)
Remove some unused code.
author
Carl Hetherington
<cth@carlh.net>
Sun, 23 Sep 2012 21:37:17 +0000
(22:37 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 23 Sep 2012 21:37:17 +0000
(22:37 +0100)
src/wx/job_wrapper.cc
patch
|
blob
|
history
diff --git
a/src/wx/job_wrapper.cc
b/src/wx/job_wrapper.cc
index 4c037ae284508f82feb4ac8cd091f412ae664189..ad83aa271da0d8c43d08b7fe6b9b5c67aeeee58e 100644
(file)
--- 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;