mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
feat: add new states
This commit is contained in:
@@ -135,15 +135,29 @@ bool DataParser::xmlParser(const QByteArray& array)
|
||||
|
||||
if (value == "UNCHANGEABLE")
|
||||
{
|
||||
//версию нельзя изменять
|
||||
result = true;
|
||||
}
|
||||
|
||||
if (value == "CHANGEABLE")
|
||||
{
|
||||
postProcessSystem->compareFiles();
|
||||
//emit sigUpdateFilesOnServer(hashComparer->getFilesForUpdate());
|
||||
}
|
||||
|
||||
if (value == "ERROR_AUTH_ARCHIVED")
|
||||
{
|
||||
postProcessSystem->userArchived();
|
||||
}
|
||||
|
||||
if (value == "ERROR_AUTH_LOGINORPASSWORD")
|
||||
{
|
||||
postProcessSystem->wrongLoginOrPass();
|
||||
}
|
||||
|
||||
if (value == "ERROR_AUTH_ALREADYLOGIN")
|
||||
{
|
||||
postProcessSystem->alreadyLogin();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user