projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Give a slightly better error whn trying to add a KDM using add-file (#1035).
[dcpomatic.git]
/
src
/
lib
/
exceptions.cc
diff --git
a/src/lib/exceptions.cc
b/src/lib/exceptions.cc
index 4590531b7bd5a8cabe73d70650dd5b96467083bd..cf3708896cbc12ed9ce15a8ca6a938925607c9c7 100644
(file)
--- a/
src/lib/exceptions.cc
+++ b/
src/lib/exceptions.cc
@@
-86,3
+86,7
@@
ProgrammingError::ProgrammingError (string file, int line)
{
}
+
+KDMAsContentError::KDMAsContentError ()
+ : runtime_error (_("This file is a KDM. KDMs should be added to DCP content by right-clicking the content and choosing \"Add KDM\"."))
+{}