mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-29 06:35:40 +03:00
fix: instructor update
This commit is contained in:
@@ -189,13 +189,10 @@ bool DataParser::xmlParser(const QByteArray& array)
|
||||
if (name == "AccessType")
|
||||
{
|
||||
serverAuth->AccessType = value;
|
||||
postProcessSystem->checkAccessType(value);
|
||||
//recognizeSystem->checkAccessType(value);
|
||||
}
|
||||
}
|
||||
|
||||
postProcessSystem->saveLoginData(serverAuth);
|
||||
//emit recognizeSystem->sigSaveLoginData(serverAuth);
|
||||
}
|
||||
|
||||
if(xmlReader.name() == "VersionData")
|
||||
@@ -259,6 +256,7 @@ bool DataParser::xmlParser(const QByteArray& array)
|
||||
|
||||
xmlReader.readNext();
|
||||
}
|
||||
emit postProcessSystem->sigCallUpdateList();
|
||||
}
|
||||
|
||||
xmlReader.readNext();
|
||||
|
||||
@@ -69,14 +69,6 @@ void PostProcessorSystem::compareFiles()
|
||||
updateController->updateFilesOnServer(hashComparer->getFilesForUpdate());
|
||||
}
|
||||
|
||||
void PostProcessorSystem::checkAccessType(const QString& type)
|
||||
{
|
||||
if(type == "instructor")
|
||||
{
|
||||
emit sigCallUpdateList();
|
||||
}
|
||||
}
|
||||
|
||||
void PostProcessorSystem::saveLoginData(ServerAuthorization *auth)
|
||||
{
|
||||
emit sigSaveLoginData(auth);
|
||||
|
||||
@@ -21,7 +21,6 @@ public:
|
||||
void serverBlocked();
|
||||
void startCompare();
|
||||
void compareFiles();
|
||||
void checkAccessType(const QString& type);
|
||||
void saveLoginData(ServerAuthorization *auth);
|
||||
void setServerVersion(StreamingVersionData *serverVersion);
|
||||
void calculateCommonHash();
|
||||
|
||||
@@ -38,7 +38,7 @@ signals:
|
||||
void sigSendPacketType(PacketType packetType);
|
||||
void sigSendPacketTypeWithDelay(PacketType packetType,int delay);
|
||||
void sigSendToInlineLog(QString message);
|
||||
void sigCallUpdateList();
|
||||
//void sigCallUpdateList();
|
||||
|
||||
private:
|
||||
VersionContainer *versionContainer;
|
||||
|
||||
Reference in New Issue
Block a user