fixed uninitialised variable in RSCollectionDialog

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8439 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2015-06-14 15:03:41 +00:00
parent 7de30b91e7
commit 5c5538c572

View File

@ -659,7 +659,7 @@ void RsCollectionDialog::addRecursive(bool recursive)
{ {
QStringList fileToHash; QStringList fileToHash;
QMap<QString, QString > dirToAdd; QMap<QString, QString > dirToAdd;
int count;//to not scan all items on list .count() int count=0;//to not scan all items on list .count()
QModelIndexList milSelectionList = ui._systemFileTW->selectionModel()->selectedIndexes(); QModelIndexList milSelectionList = ui._systemFileTW->selectionModel()->selectedIndexes();
foreach (QModelIndex index, milSelectionList) foreach (QModelIndex index, milSelectionList)