sigh
This commit is contained in:
parent
5bfce45767
commit
a94dce496d
@ -21,7 +21,7 @@ DBManager::DBManager() :
|
|||||||
DRIVER("QSQLITE")
|
DRIVER("QSQLITE")
|
||||||
{
|
{
|
||||||
if(!access("config/akashi.db", R_OK | W_OK))
|
if(!access("config/akashi.db", R_OK | W_OK))
|
||||||
qCritical() << "Database Error: Missing permissions. Check if \"" + "config/akashi.db" "\" is writable.\n";
|
qCritical() << "Database Error: Missing permissions. Check if \"config/akashi.db\" is writable.\n";
|
||||||
|
|
||||||
db = QSqlDatabase::addDatabase(DRIVER);
|
db = QSqlDatabase::addDatabase(DRIVER);
|
||||||
db.setDatabaseName("config/akashi.db");
|
db.setDatabaseName("config/akashi.db");
|
||||||
|
Loading…
Reference in New Issue
Block a user