Don't show error message if file added to qmlproject is picked up

Check for the case that a new file to be added to a .qmlproject
is also automatically covered e.g. by a wildcard filter. In this
case we don't have to do anything.
This commit is contained in:
Kai Koehne
2010-02-17 11:20:35 +01:00
parent 24a225de40
commit b5646d35da
8 changed files with 115 additions and 7 deletions

View File

@@ -183,9 +183,9 @@ bool QmlProjectNode::removeSubProjects(const QStringList &proFilePaths)
}
bool QmlProjectNode::addFiles(const ProjectExplorer::FileType /*fileType*/,
const QStringList & /*filePaths*/, QStringList * /*notAdded*/)
const QStringList &filePaths, QStringList * /*notAdded*/)
{
return false;
return m_project->addFiles(filePaths);
}
bool QmlProjectNode::removeFiles(const ProjectExplorer::FileType /*fileType*/,