forked from qt-creator/qt-creator
ProjectNodes: Use QVector instead of QList for LocationInfo
Change-Id: I5bad9e1849b9d752de24626013c9102242d11a0a Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
@@ -314,7 +314,7 @@ void addBacktraceInformation(FolderNode *node,
|
||||
const QDir &sourceDir,
|
||||
int backtraceIndex)
|
||||
{
|
||||
QList<FolderNode::LocationInfo> info;
|
||||
QVector<FolderNode::LocationInfo> info;
|
||||
// Set up a default target path:
|
||||
FilePath targetPath = node->filePath().pathAppended("CMakeLists.txt");
|
||||
while (backtraceIndex != -1) {
|
||||
|
||||
@@ -800,7 +800,7 @@ void ServerModeReader::addTargets(
|
||||
QTC_ASSERT(tNode, qDebug() << "No target node for" << t->sourceDirectory << t->name; continue);
|
||||
tNode->setTargetInformation(t->artifacts, t->type);
|
||||
tNode->setBuildDirectory(t->buildDirectory);
|
||||
QList<FolderNode::LocationInfo> info;
|
||||
QVector<FolderNode::LocationInfo> info;
|
||||
// Set up a default target path:
|
||||
FilePath targetPath = t->sourceDirectory.pathAppended("CMakeLists.txt");
|
||||
for (CrossReference *cr : qAsConst(t->crossReferences)) {
|
||||
|
||||
Reference in New Issue
Block a user