Commit 99c38dde authored by Christian Kamm's avatar Christian Kamm
Browse files

Qt4Project: Reset QML import paths in ProjectInfo.

Previously, import paths would accumulate.

Change-Id: I2f6f12abde7906fc823323e4470af7a19afa304e
Reviewed-on: http://codereview.qt.nokia.com/667

Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
parent 31904563
......@@ -549,6 +549,7 @@ void Qt4Project::updateQmlJSCodeModel()
FindQt4ProFiles findQt4ProFiles;
QList<Qt4ProFileNode *> proFiles = findQt4ProFiles(rootProjectNode());
projectInfo.importPaths.clear();
foreach (Qt4ProFileNode *node, proFiles) {
projectInfo.importPaths.append(node->variableValue(QmlImportPathVar));
}
......
Supports Markdown
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