forked from qt-creator/qt-creator
QmlJsTools: Fix compilation with Qt4
Change-Id: I76e067ec8223c42b480ad9d296cd3b7357831aab Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
@@ -952,7 +952,7 @@ void ModelManager::importScan(QFutureInterface<void> &future,
|
||||
const bool libOnly = true; // FIXME remove when tested more
|
||||
while (!pathsToScan.isEmpty() && !future.isCanceled()) {
|
||||
ScanItem toScan = pathsToScan.last();
|
||||
pathsToScan.removeLast();
|
||||
pathsToScan.pop_back();
|
||||
int pathBudget = (maxScanDepth + 2 - toScan.depth);
|
||||
if (!scannedPaths.contains(toScan.path)) {
|
||||
QStringList importedFiles;
|
||||
|
||||
Reference in New Issue
Block a user