bugfix: add behaviour on empty build and shared data

This commit is contained in:
semenov
2025-06-10 11:39:09 +03:00
parent 00d7262251
commit e40a22483a
7 changed files with 72 additions and 6 deletions

View File

@@ -48,6 +48,7 @@ public:
~ServerLMSWidget();
void autorizationHandler(QString login);
void setError(int code);
protected:
@@ -81,6 +82,10 @@ public:
{
stateBlockAutorization = unblocked;
}
int hasError() const
{
return errorCode;
}
EStateBlockAutorization getStateBlockAutorization() const
{
return stateBlockAutorization;
@@ -128,6 +133,7 @@ private:
bool first = true; // для тестов Unity
QTranslator qtLanguageTranslator;
int errorCode;
};