сделал delInstructor

This commit is contained in:
krivoshein
2024-12-11 14:24:50 +03:00
parent 0cb03e49b1
commit 1569df7d94
43 changed files with 302 additions and 320 deletions

View File

@@ -46,7 +46,7 @@ bool ConnectorToServer::deAuthorizationInstructorLocal(QString login)
return true;
}
bool ConnectorToServer::sendQueryToDB(TypeQueryToDB typeQuery)
bool ConnectorToServer::sendQueryToDB(TypeQueryToDB typeQuery, int id)
{
if (!client->getIsConnected())
{
@@ -56,7 +56,7 @@ bool ConnectorToServer::sendQueryToDB(TypeQueryToDB typeQuery)
ClientQueryToDB *queryToDB = new ClientQueryToDB;
queryToDB->typeQuery = typeQuery;
dataParser->createQueryToDBMessage(queryToDB);
dataParser->createQueryToDBMessage(queryToDB, id);
emit sigSendQueryToDB();
return true;