diff options
author | Nikolai Kosjar <nikolai.kosjar@digia.com> | 2013-11-20 14:41:36 +0100 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@digia.com> | 2013-11-20 14:48:40 +0100 |
commit | 180e613e719d5c56bb910ea62f5811e5fb835e3e (patch) | |
tree | 634aa5366a9792be1565d9aa40c13fa2794d59ab /src/plugins/qmljstools | |
parent | 72db114180ee10144fec03f84afeff9a6ab8dddf (diff) |
QmlJsTools: Fix compilation with Qt4
Change-Id: I76e067ec8223c42b480ad9d296cd3b7357831aab
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'src/plugins/qmljstools')
-rw-r--r-- | src/plugins/qmljstools/qmljsmodelmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmljstools/qmljsmodelmanager.cpp b/src/plugins/qmljstools/qmljsmodelmanager.cpp index 0a65c484ece..61470f40c20 100644 --- a/src/plugins/qmljstools/qmljsmodelmanager.cpp +++ b/src/plugins/qmljstools/qmljsmodelmanager.cpp @@ -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; |