forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.15'
Conflicts: cmake/QtCreatorIDEBranding.cmake qbs/modules/qtc/qtc.qbs qtcreator_ide_branding.pri Change-Id: I309fe2a4ea7afac85481fc6466a9a6e58e340019
This commit is contained in:
@@ -233,7 +233,8 @@ void addFileSystemNodes(ProjectNode *root, const QList<const FileNode *> &allFil
|
||||
|
||||
if (!fileSystemNode->isEmpty()) {
|
||||
// make file system nodes less probable to be selected when syncing with the current document
|
||||
fileSystemNode->forEachGenericNode([](Node *n) { n->setPriority(n->priority() + 10); });
|
||||
fileSystemNode->forEachGenericNode(
|
||||
[](Node *n) { n->setPriority(n->priority() + Node::DefaultProjectFilePriority + 1); });
|
||||
root->addNode(std::move(fileSystemNode));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user