mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
ref: change initialize logic
*complete without change animation
This commit is contained in:
@@ -8,9 +8,11 @@ HashComparer::HashComparer(QObject *) :
|
||||
|
||||
}
|
||||
|
||||
void HashComparer::initialize(VersionContainer *versionContainer)
|
||||
void HashComparer::initialize(VersionContainer *versionContainer,UpdateNotifyWidget* updateWidget)
|
||||
{
|
||||
this->versionContainer = versionContainer;
|
||||
this->updateWidget = updateWidget;
|
||||
filesForUpdate = new QList<FileData>;
|
||||
}
|
||||
|
||||
void HashComparer::CompareDeltas(QList<FileData> *serverStreamingHash, QList<FileData> localStreamingHash)
|
||||
@@ -47,11 +49,6 @@ void HashComparer::showDeltas()
|
||||
emit sigHaveDelta();
|
||||
}
|
||||
|
||||
void HashComparer::setWidget(UpdateNotifyWidget* updateWidget)
|
||||
{
|
||||
this->updateWidget = updateWidget;
|
||||
}
|
||||
|
||||
quint16 HashComparer::getFileUpdateCount() const
|
||||
{
|
||||
return filesForUpdate->count();
|
||||
|
||||
Reference in New Issue
Block a user