diff --git a/src/model/Database.cpp b/src/model/Database.cpp index ca058f1..7c4d211 100644 --- a/src/model/Database.cpp +++ b/src/model/Database.cpp @@ -44,7 +44,7 @@ Database::Database(const char* filename, KissCount* kiss) : _kiss(kiss) { std::ifstream bdd_file; - QString sPath = QDir::home().path() + "/" + BDD_FILE; + QString sPath = QDir::home().path() + "/.local/share/kisscount/" + BDD_FILE; _db = QSqlDatabase::addDatabase("QSQLITE");