forked from qt-creator/qt-creator
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:
@@ -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*/,
|
||||
|
||||
Reference in New Issue
Block a user