Create ~/.config/dcpomatic if required; should fix #228.
authorCarl Hetherington <cth@carlh.net>
Wed, 16 Oct 2013 21:54:58 +0000 (22:54 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 16 Oct 2013 21:54:58 +0000 (22:54 +0100)
src/lib/config.cc

index 1a97eaa0d450bf81dab9cbdb2610736fdea5040c..582a14c51f101f38069cac979381322a77a476fa 100644 (file)
@@ -232,6 +232,7 @@ Config::file (bool old) const
                p /= ".dvdomatic";
        } else {
                p /= "dcpomatic";
+               boost::filesystem::create_directory (p, ec);
                p /= "config.xml";
        }
        return p;