diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2020-12-03 15:17:23 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2020-12-11 15:17:05 +0000 |
commit | 29ddb3bcdb75107789d6bdddae63a90f57768abd (patch) | |
tree | 8696237bf72401e1a6e745914acd5ba115053894 /src/plugins/projectexplorer/buildconfiguration.h | |
parent | 2839d9fa9210839700d2f50ac74dc1093def89b7 (diff) |
ProjectExplorer: Allow to schedule a build/run during a project parse
Once we parsed the project initially, subsequent parses typically do not
change things in a major way, so we can expect e.g. run configurations to
stay intact.
It therefore makes sense to allow users to schedule an
application run not only during a build (see 4b92b7ac60), but also
during a parse. Arguably, this is even more relevant, as parsing is
usually not triggered directly by the user, but happens as a side effect
of editing a document or switching a branch. It is then annoying for
users to have to wait until the respective buttons get enabled again.
Fixes: QTCREATORBUG-24986
Change-Id: I1081ccde668eee794c39b96cd0bad5c3aaa580bc
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/buildconfiguration.h')
-rw-r--r-- | src/plugins/projectexplorer/buildconfiguration.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/buildconfiguration.h b/src/plugins/projectexplorer/buildconfiguration.h index 73d2eb3fe9..40f7dd72ce 100644 --- a/src/plugins/projectexplorer/buildconfiguration.h +++ b/src/plugins/projectexplorer/buildconfiguration.h @@ -91,8 +91,8 @@ public: bool fromMap(const QVariantMap &map) override; QVariantMap toMap() const override; - virtual bool isEnabled() const; - virtual QString disabledReason() const; + bool isEnabled() const; + QString disabledReason() const; virtual bool regenerateBuildFiles(Node *node); |