summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp14
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();
-}