This commit is contained in:
2026-01-22 11:48:21 +03:00
parent 4ba70853cb
commit 75acf12c3c
5 changed files with 22 additions and 9 deletions

View File

@@ -191,17 +191,21 @@ void ServerLMSWidget::start()
startInitialization_step0();
}
void ServerLMSWidget::slot_BlockAutorizationIndicate(bool block, QString whoFullName, QString type)
void ServerLMSWidget::slot_BlockAutorizationIndicate(bool block, QString blocker, QString types)
{
if(block)
{
//server->blockAutorization();
Logger::instance().log(QString("Server BLOCK from: %1 [type: %2]").arg(whoFullName, type));
Logger::instance().log(QString("BLOCK from: %1").arg(blocker), LogLevel::INFO);
//if(type != "")
Logger::instance().log(QString("Blockers: %1").arg(types), LogLevel::DEBUG);
}
else
{
//server->unBlockAutorization();
Logger::instance().log(QString("Server UNBLOCK from: %1 [type: %2]").arg(whoFullName, type));
Logger::instance().log(QString("UNBLOCK from: %1").arg(blocker), LogLevel::INFO);
//if(type != "")
Logger::instance().log(QString("Blockers: %1").arg(types), LogLevel::DEBUG);
}
updateStateOnlyServer();
}