MAke sure removeDuplicates() is called for list containing file to be
updated.
This commit is contained in:
parent
a24eb9fd8c
commit
721c5dd7a5
@ -638,13 +638,13 @@ bool Worker::filesToUpdate() {
|
||||
m_filesToUpdate << changedFileNames.value();
|
||||
}
|
||||
}
|
||||
GUI() << (CONSOLE(m_filesToUpdate) << UPDATE_STEP::FILES_TO_UPDATE);
|
||||
m_filesToUpdate.removeDuplicates();
|
||||
GUI(m_filesToUpdate) << (CONSOLE(m_filesToUpdate) << UPDATE_STEP::FILES_TO_UPDATE);
|
||||
} else {
|
||||
ISMAS() << (GUI() << (CONSOLE() << UPDATE_STEP::UPDATE_REPOSITORY_FAILURE));
|
||||
return false;
|
||||
}
|
||||
|
||||
m_filesToUpdate.removeDuplicates();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user