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)
|
||||
{
|
||||
if (!QSqlDatabase::exec("select 1").isActive())
|
||||
if (!QSqlDatabase::database().exec("select 1").isActive())
|
||||
openDatabase();
|
||||
|
||||
QSqlQuery query;
|
||||
|
|
Loading…
Reference in a new issue