diff options
Diffstat (limited to 'src/settings.cpp')
-rw-r--r-- | src/settings.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/settings.cpp b/src/settings.cpp deleted file mode 100644 index 4fe67d1..0000000 --- a/src/settings.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include <QDir> -#include <QSettings> -#include <QStandardPaths> - -#include "settings.h" - -void Settings::createConfig() { - QSettings settings; - QDir local_data_dir(QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation)); - - settings.beginGroup("paths"); - settings.setValue("db_path", local_data_dir.filePath("data.db")); - settings.endGroup(); -} |