Merge branch 'bugfix-update-diff' into merge-test

# Conflicts:
#	ServerLMS/Systems/tools.h
#	ServerLMS/Systems/updatecontroller.h
This commit is contained in:
semenov
2025-01-20 09:31:15 +03:00
20 changed files with 247 additions and 105 deletions

View File

@@ -14,6 +14,8 @@ enum PacketType
TYPE_XMLANSWER = 8,
TYPE_QT = 9,
TYPE_DISABLE = 11,
TYPE_UPDATE = 12,
TYPE_CHECK_VERSION = 13,
TYPE_FILESIZE = 20,
TYPE_XMLANSWER_MESSAGE_FOR_GUI = 90,

View File

@@ -13,6 +13,7 @@ public:
this->viewName = viewName;
this->createData = data;
this->size = size;
this->isChangeable = true;
}
~StreamingVersionData();
@@ -36,10 +37,21 @@ public:
return size;
}
bool getIsChangeable() const
{
return isChangeable;
}
void setIsChangeable(bool value)
{
isChangeable = value;
}
private:
QString absolutePath;
QString viewName;
QDateTime createData;
bool isChangeable;
qint32 size;
};