diff options
author | hjk <hjk@qt.io> | 2018-09-12 13:40:37 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2018-09-13 07:32:57 +0000 |
commit | 35b941462ece5d72ba07c841c26eacdbf06c34fc (patch) | |
tree | aea15f999e12cf9305b4ae85c062cec933923e6e /src/plugins/projectexplorer/runsettingspropertiespage.h | |
parent | f66770cde19579d2e6f2dc88ba9bb6abfe0d821f (diff) | |
download | qt-creator-35b941462ece5d72ba07c841c26eacdbf06c34fc.tar.gz |
ProjectExplorer: Remove RunConfigWidget wrapper class
Not really needed, a QWidget does the job, too, and de-emphasizes
then 'Run' bit. The display name is now taken always from the
aspect, but that's what was the practically the case before,
albeit with different implementations.
Change all names to *[cC]onfigWidget* (in line with ISettingsAspect).
Change-Id: Ida0409a2dd0b175dd5ce4202f9b9e94b3f2db421
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/runsettingspropertiespage.h')
-rw-r--r-- | src/plugins/projectexplorer/runsettingspropertiespage.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/runsettingspropertiespage.h b/src/plugins/projectexplorer/runsettingspropertiespage.h index 5a551f9421..6442fb1441 100644 --- a/src/plugins/projectexplorer/runsettingspropertiespage.h +++ b/src/plugins/projectexplorer/runsettingspropertiespage.h @@ -77,7 +77,7 @@ private: void setConfigurationWidget(RunConfiguration *rc); void addRunControlWidgets(); - void addSubWidget(RunConfigWidget *subWidget); + void addSubWidget(QWidget *subWidget, QLabel *label); void removeSubWidgets(); void updateEnabledState(); @@ -94,7 +94,7 @@ private: QMenu *m_addRunMenu; QMenu *m_addDeployMenu; bool m_ignoreChange = false; - typedef QPair<RunConfigWidget *, QLabel *> RunConfigItem; + typedef QPair<QWidget *, QLabel *> RunConfigItem; QList<RunConfigItem> m_subWidgets; QGridLayout *m_gridLayout; |