Better behaviour if config fails to load.
authorCarl Hetherington <cth@carlh.net>
Thu, 14 Jul 2016 20:20:50 +0000 (21:20 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 14 Jul 2016 20:20:50 +0000 (21:20 +0100)
commit267e5cd9a9cd85c90fe80bdf14fead3923fd5489
tree0a69f0657a57eac6870a747e1e3fa22315e3050c
parente693014c1cf9a5204d54d753640be6bd4f00b195
Better behaviour if config fails to load.

Create a default config if any exception is thrown by ::read, and
tell the UI so that it can pop up a message to say what has happened.
ChangeLog
src/lib/config.cc
src/lib/config.h
src/tools/dcpomatic.cc