summaryrefslogtreecommitdiff
path: root/src/lib/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/config.h')
-rw-r--r--src/lib/config.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/config.h b/src/lib/config.h
index 2fca9699c..c625e9242 100644
--- a/src/lib/config.h
+++ b/src/lib/config.h
@@ -721,8 +721,9 @@ public:
static bool have_existing (std::string);
static boost::filesystem::path config_file ();
- static boost::optional<boost::filesystem::path> test_path;
-
+ /** If set, this overrides the standard path (in home, Library, AppData or wherever) for config.xml and cinemas.xml */
+ static boost::optional<boost::filesystem::path> override_path;
+
private:
Config ();
static boost::filesystem::path path (std::string file, bool create_directories = true);