aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/api/project_p.h
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2019-12-18 16:51:09 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2020-01-06 10:44:15 +0000
commit34d38c14773cff8b33a824f137d1cab395c23259 (patch)
treeff204c1c6aae2fe480ea41322213d9866ea52bb3 /src/lib/corelib/api/project_p.h
parent8b31c32f7640ef06a12ad6995e202e5087e19b4a (diff)
API: Do not try to do manual book-keeping
... when adding/removing files to/from a project. We originally implemented this so that IDE users could edit their project files via the UI without having to re-resolve the project, thus saving time. However, great care has to be taken to ensure that we really do the same thing as would happen on a proper resolve step, and we do not seem to manage, as demonstrated by the crashes I have observed recently when removing files via Qt Creator. So let's play it safe and remove the shortcut. Change-Id: I38e7dcdba0aa129f43feec084ae140e1a57d2ee9 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/lib/corelib/api/project_p.h')
-rw-r--r--src/lib/corelib/api/project_p.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/lib/corelib/api/project_p.h b/src/lib/corelib/api/project_p.h
index 58f61a5bc..283bb5be4 100644
--- a/src/lib/corelib/api/project_p.h
+++ b/src/lib/corelib/api/project_p.h
@@ -114,12 +114,7 @@ public:
void removeFiles(const ProductData &product, const GroupData &group,
const QStringList &filePaths);
void removeGroup(const ProductData &product, const GroupData &group);
- void removeFilesFromBuildGraph(const ResolvedProductConstPtr &product,
- const std::vector<SourceArtifactPtr> &files);
- void updateInternalCodeLocations(const ResolvedProjectPtr &project,
- const CodeLocation &changeLocation, int lineOffset);
- void updateExternalCodeLocations(const ProjectData &project,
- const CodeLocation &changeLocation, int lineOffset);
+
void prepareChangeToProject();
RuleCommandList ruleCommandListForTransformer(const Transformer *transformer);