Commit 180e613e authored by Nikolai Kosjar's avatar Nikolai Kosjar

QmlJsTools: Fix compilation with Qt4

Change-Id: I76e067ec8223c42b480ad9d296cd3b7357831aab
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
parent 72db1141
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment