mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-13 08:29:32 -05:00
Fix bug when adding new items when hashing in RsCollectionDialog
This commit is contained in:
parent
6d0945fbab
commit
d87061ddb3
@ -797,7 +797,7 @@ void RsCollectionDialog::addRecursive(bool recursive)
|
|||||||
for (QHash<QString,QString>::Iterator it = _listOfFilesAddedInDir.begin(); it != _listOfFilesAddedInDir.end() ; ++it)
|
for (QHash<QString,QString>::Iterator it = _listOfFilesAddedInDir.begin(); it != _listOfFilesAddedInDir.end() ; ++it)
|
||||||
{
|
{
|
||||||
QString path = it.value();
|
QString path = it.value();
|
||||||
it.value() = "";
|
//it.value() = "";//Don't reset value, could be an older attachment not terminated.
|
||||||
if (dirToAdd.contains(path)){
|
if (dirToAdd.contains(path)){
|
||||||
it.value() = dirToAdd.value(path);
|
it.value() = dirToAdd.value(path);
|
||||||
} else if(item) {
|
} else if(item) {
|
||||||
|
Loading…
Reference in New Issue
Block a user