aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cppeditor/cpptoolstestcase.h
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2024-04-11 18:17:27 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2024-04-26 08:14:21 +0000
commit77a46dc82613caf3e67498c4fc12cb6a5f64bd68 (patch)
tree4727c6a7706a677c09a60db6521e76a7763a54b2 /src/plugins/cppeditor/cpptoolstestcase.h
parent5c765e7c125ceba1d13d54ae0a452ff22d151c8e (diff)
CppEditor: Adapt includes also when the including file was moved
Task-number: QTCREATORBUG-26545 Change-Id: Ica2d8c8504387f4ab15f0a974dfc1566d1fcaa91 Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Diffstat (limited to 'src/plugins/cppeditor/cpptoolstestcase.h')
-rw-r--r--src/plugins/cppeditor/cpptoolstestcase.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/cppeditor/cpptoolstestcase.h b/src/plugins/cppeditor/cpptoolstestcase.h
index 99969621b3..3bbeff0bb6 100644
--- a/src/plugins/cppeditor/cpptoolstestcase.h
+++ b/src/plugins/cppeditor/cpptoolstestcase.h
@@ -171,6 +171,8 @@ public:
bool configureAsExampleProject = false,
ProjectExplorer::Kit *kit = nullptr);
+ QList<ProjectExplorer::Project *> projects() const { return m_openProjects; };
+
private:
QList<ProjectExplorer::Project *> m_openProjects;
};