diff options
author | hjk <hjk@qt.io> | 2018-10-15 17:52:15 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2018-10-17 06:14:55 +0000 |
commit | d6c605d84c1eb20e3614532aa0d535d8506da8dd (patch) | |
tree | 1a941723591a5f7b832f5995c6ef9197677891bf /src/plugins/projectexplorer/buildstep.h | |
parent | fb1c562c2ed9cd43f16773f3228d64bd8ff32173 (diff) |
ProjectExplorer: Change BuildStepConfigWidget::summaryWidget()
From a virtual function to a normal one backed by a real data member.
That's essentially what several re-implementations did, the other
ones used a fixed value instead.
Change-Id: I61e45f1d4f7f0f80fe2eb1f2729785f37e7bb803
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/buildstep.h')
-rw-r--r-- | src/plugins/projectexplorer/buildstep.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/buildstep.h b/src/plugins/projectexplorer/buildstep.h index 2679515e04..6e82656566 100644 --- a/src/plugins/projectexplorer/buildstep.h +++ b/src/plugins/projectexplorer/buildstep.h @@ -173,13 +173,13 @@ class PROJECTEXPLORER_EXPORT BuildStepConfigWidget : public QWidget public: BuildStepConfigWidget(BuildStep *step, bool showWidget = true); - virtual QString summaryText() const; - + QString summaryText() const; QString displayName() const; BuildStep *step() const { return m_step; } bool showWidget() const { return m_showWidget; } void setDisplayName(const QString &displayName); + void setSummaryText(const QString &summaryText); signals: void updateSummary(); @@ -188,6 +188,7 @@ private: BuildStep *m_step = nullptr; const bool m_showWidget = true; QString m_displayName; + QString m_summaryText; }; } // namespace ProjectExplorer |