--- qt-everywhere-opensource-src-5.1.1/qtdeclarative/src/imports/folderlistmodel/fileinfothread.cpp 2013-08-25 14:04:23.000000000 -0400 +++ qt-everywhere-opensource-src-5.1.1-new/qtdeclarative/src/imports/folderlistmodel/fileinfothread.cpp 2014-03-10 16:23:07.952750292 -0400 @@ -273,22 +273,14 @@ return; } - int i; int listSize = list.size() < currentFileList.size() ? list.size() : currentFileList.size(); - bool changeFound = false; - for (i=0; i < listSize; i++) { - if (list.at(i) != currentFileList.at(i)) { - changeFound = true; + for (fromIndex=0; fromIndex < listSize; fromIndex++) { + if (list.at(fromIndex) != currentFileList.at(fromIndex)) { break; } } - if (changeFound) - fromIndex = i; - else - fromIndex = i-1; - // For now I let the rest of the list be updated.. toIndex = list.size() > currentFileList.size() ? list.size() - 1 : currentFileList.size() - 1; }