From 37626b09e10e2e41f9f52cb565e11d3728cff377 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Soutad=C3=A9?= Date: Sun, 26 Feb 2012 15:42:09 +0100 Subject: [PATCH] Use ~/.local/share/kisscount instead of ~/.kisscount for default database location --- src/model/Database.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");