| 38 | } |
| 39 | |
| 40 | void Settings::setSettingsPath(const QString &path) |
| 41 | { |
| 42 | if(path.isEmpty()) |
| 43 | qCritical() << "Settings path not defined? This is unpossible!"; |
| 44 | |
| 45 | s_settings_path = getSEGSDir() + QDir::separator() + path; |
| 46 | |
| 47 | if(!fileExists(s_settings_path)) |
| 48 | createSettingsFile(s_settings_path); |
| 49 | |
| 50 | qCDebug(logSettings) << "Settings Path" << s_settings_path; |
| 51 | } |
| 52 | |
| 53 | QString Settings::getSettingsPath() |
| 54 | { |
nothing calls this directly
no test coverage detected