diff options
Diffstat (limited to 'SQLiteStudio3/coreSQLiteStudio/services/config.cpp')
| -rw-r--r-- | SQLiteStudio3/coreSQLiteStudio/services/config.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/SQLiteStudio3/coreSQLiteStudio/services/config.cpp b/SQLiteStudio3/coreSQLiteStudio/services/config.cpp index 60a80d5..c03847a 100644 --- a/SQLiteStudio3/coreSQLiteStudio/services/config.cpp +++ b/SQLiteStudio3/coreSQLiteStudio/services/config.cpp @@ -4,6 +4,7 @@ CFG_DEFINE(Core) static const QString DB_FILE_NAME = QStringLiteral("settings3"); static QString MASTER_CONFIG_FILE = QString(); +Config::AskUserForConfigDirFunc Config::askUserForConfigDirFunc; Config::~Config() { @@ -18,3 +19,8 @@ QString Config::getMasterConfigFile() { return MASTER_CONFIG_FILE; } + +void Config::setAskUserForConfigDirFunc(const AskUserForConfigDirFunc& value) +{ + askUserForConfigDirFunc = value; +} |
