Use ~/.local/share/kisscount instead of ~/.kisscount for default database location
This commit is contained in:
parent
83d144ca3c
commit
37626b09e1
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user