aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-02-25 12:08:58 +0100
committerhjk <hjk@qt.io>2019-02-25 12:23:31 +0000
commit09372918c185ad096ec176c8f44b48ba0e92f9bd (patch)
treeea0b4375c6f7042138e5db30530420a39f068e2a /src/plugins/qmlprofiler
parent15673b6eca08e0c2b2e62a8c13f5cb40b88cb618 (diff)
ProjectExplorer: Remove FileNode's isGenerated constructor bool
Use setter of base class, similar to setListInProject() before. Change-Id: Id620f0084a5dec0410f29c80f8f6393a6bcd5050 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/qmlprofiler')
-rw-r--r--src/plugins/qmlprofiler/tests/qmlprofilerdetailsrewriter_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/qmlprofiler/tests/qmlprofilerdetailsrewriter_test.cpp b/src/plugins/qmlprofiler/tests/qmlprofilerdetailsrewriter_test.cpp
index 88965ca4f2e..7ba3b02cdb1 100644
--- a/src/plugins/qmlprofiler/tests/qmlprofilerdetailsrewriter_test.cpp
+++ b/src/plugins/qmlprofiler/tests/qmlprofilerdetailsrewriter_test.cpp
@@ -56,13 +56,13 @@ public:
ProjectExplorer::Project(QString(), file, {})
{
auto fileNode
- = std::make_unique<ProjectExplorer::FileNode>(file, ProjectExplorer::FileType::Source, false);
+ = std::make_unique<ProjectExplorer::FileNode>(file, ProjectExplorer::FileType::Source);
auto root = std::make_unique<DummyProjectNode>(file);
root->addNode(std::move(fileNode));
fileNode = std::make_unique<ProjectExplorer::FileNode>(
Utils::FileName::fromLatin1(
":/qmlprofiler/tests/qmlprofilerdetailsrewriter_test.cpp"),
- ProjectExplorer::FileType::Source, false);
+ ProjectExplorer::FileType::Source);
root->addNode(std::move(fileNode));
setRootProjectNode(std::move(root));
setDisplayName(file.toString());