mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-12 15:49:28 -08:00
foo
This commit is contained in:
@@ -81,7 +81,7 @@ void Server::incomingConnection(int socketId)
|
||||
|
||||
AuthenticationResult Server::checkUserPassword(const QString &user, const QString &password)
|
||||
{
|
||||
if (!QSqlDatabase::exec("select 1").isActive())
|
||||
if (!QSqlDatabase::database().exec("select 1").isActive())
|
||||
openDatabase();
|
||||
|
||||
QSqlQuery query;
|
||||
|
||||
Reference in New Issue
Block a user