| 25 | QString Settings::s_default_settings_path = Settings::s_default_tpl_dir + QDir::separator() + QStringLiteral("settings_template.cfg"); // default template from folder 'default_setup' |
| 26 | |
| 27 | bool fileExists(const QString &path) |
| 28 | { |
| 29 | QFileInfo check_file(path); |
| 30 | // check if file exists and if yes: Is it really a file and not a directory? |
| 31 | return check_file.exists() && check_file.isFile() && check_file.size() > 0; |
| 32 | } |
| 33 | |
| 34 | Settings::Settings() |
| 35 | { |
no test coverage detected