From 63e418024225f104c7bc51110ac2b12dec4d23ba Mon Sep 17 00:00:00 2001 From: Ville Nummela Date: Tue, 18 Jun 2019 14:39:38 +0300 Subject: ProjectExplorer: Add special handling for removing files ... from a project which are pulled in via wildcards. Such files cannot be removed from a project file, because they are not listed verbatim. This kind of failure should not be reported to the user if the file is also deleted, as the file list will have the correct state after the next reparse. Fixes: QTCREATORBUG-22586 Done-with: Christian Kandeler Change-Id: I3dc66fe9a6594be7d0b86f46d830cd099ee49fd7 Reviewed-by: hjk --- src/plugins/qmakeprojectmanager/qmakeparsernodes.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/plugins/qmakeprojectmanager/qmakeparsernodes.h') diff --git a/src/plugins/qmakeprojectmanager/qmakeparsernodes.h b/src/plugins/qmakeprojectmanager/qmakeparsernodes.h index 1387760145d..601400f47bf 100644 --- a/src/plugins/qmakeprojectmanager/qmakeparsernodes.h +++ b/src/plugins/qmakeprojectmanager/qmakeparsernodes.h @@ -328,6 +328,8 @@ public: void asyncUpdate(); + bool isFileFromWildcard(const QString &filePath) const; + private: void setParseInProgress(bool b); void setValidParseRecursive(bool b); -- cgit v1.2.3