mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-20 09:22:15 -07:00
foo
This commit is contained in:
parent
1c763528ae
commit
c756762171
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ void Server::incomingConnection(int socketId)
|
||||||
|
|
||||||
AuthenticationResult Server::checkUserPassword(const QString &user, const QString &password)
|
AuthenticationResult Server::checkUserPassword(const QString &user, const QString &password)
|
||||||
{
|
{
|
||||||
if (!QSqlDatabase::exec("select 1").isActive())
|
if (!QSqlDatabase::database().exec("select 1").isActive())
|
||||||
openDatabase();
|
openDatabase();
|
||||||
|
|
||||||
QSqlQuery query;
|
QSqlQuery query;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue