Cope nicely if the user has a configured default container ratio which is now disallowed.
[dcpomatic.git] / src / lib / config.h
index b850e99a784f6483912a2e1b890b65c16830ea90..0a81dee5132679e9d461d8c8e5b4a4b3510ea6e0 100644 (file)
@@ -625,6 +625,8 @@ public:
            a listener can do about it: this is just for information.
        */
        static boost::signals2::signal<void ()> FailedToLoad;
+       /** Emitted if read() issued a warning which the user might want to know about */
+       static boost::signals2::signal<void (std::string)> Warning;
 
        void write () const;
        void write_config () const;