forked from qt-creator/qt-creator
QmakeProjectManager: Add .pro files to tree unconditionally
This fixes a regression introduced by 04a525877b
.
Change-Id: I19467bf802b020fedd48df85051aa3944fd9a329
Reviewed-by: Mathias Hasselmann <mathias.hasselmann@kdab.com>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -591,8 +591,7 @@ void QmakePriFileNode::processValues(PriFileEvalResult &result)
|
||||
void QmakePriFileNode::update(const Internal::PriFileEvalResult &result)
|
||||
{
|
||||
// add project file node
|
||||
if (m_nodes.isEmpty())
|
||||
addNode(new FileNode(m_projectFilePath, FileType::Project, false));
|
||||
addNode(new FileNode(m_projectFilePath, FileType::Project, false));
|
||||
|
||||
m_recursiveEnumerateFiles = result.recursiveEnumerateFiles;
|
||||
watchFolders(result.folders.toSet());
|
||||
|
Reference in New Issue
Block a user