Qt4Project: Update code models if a folder watch changes the file list.

Fixes: c861af529e

Change-Id: I7ed8afd52ab694d053788fac7f3e994898f2dd84
Reviewed-on: http://codereview.qt-project.org/4969
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
Christian Kamm
2011-09-15 12:15:10 +02:00
committed by Daniel Teske
parent cdbd390475
commit 940fb1c4ab
3 changed files with 5 additions and 2 deletions

View File

@@ -733,6 +733,7 @@ void Qt4PriFileNode::folderChanged(const QString &folder)
contents.updateSubFolders(this, this);
m_project->updateFileList();
m_project->updateCodeModels();
// The files to be packaged are listed inside the symbian build system.
// We need to regenerate that list by running qmake