diff options
author | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2016-03-18 15:12:52 +0100 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2016-03-18 16:27:09 +0000 |
commit | 2b7f87d2126bfdd4e4a02f4122d9fad95009e4b8 (patch) | |
tree | a13144ca58f77736da2085622e7038a3664662b7 /src/plugins/projectexplorer/runconfigurationaspects.h | |
parent | adb3a74de985ebc3692b78b99779e479967e2e4c (diff) |
WorkDirectoryAspect: Small improvements
* Do only enable the reset button when there is something to reset
* Do not print the default directory in red
Task-number: QTCREATORBUG-15644
Change-Id: I05cdd02751dce2c4faeb97358d654251dd9dbfa4
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
Reviewed-by: hjk <hjk@theqtcompany.com>
Diffstat (limited to 'src/plugins/projectexplorer/runconfigurationaspects.h')
-rw-r--r-- | src/plugins/projectexplorer/runconfigurationaspects.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/runconfigurationaspects.h b/src/plugins/projectexplorer/runconfigurationaspects.h index b5e0281e3a..e08f76c4e2 100644 --- a/src/plugins/projectexplorer/runconfigurationaspects.h +++ b/src/plugins/projectexplorer/runconfigurationaspects.h @@ -34,6 +34,7 @@ QT_BEGIN_NAMESPACE class QCheckBox; class QFormLayout; class QLineEdit; +class QToolButton; QT_END_NAMESPACE namespace Utils { @@ -105,6 +106,7 @@ private: Utils::FileName m_workingDirectory; Utils::FileName m_defaultWorkingDirectory; QPointer<Utils::PathChooser> m_chooser; + QPointer<QToolButton> m_resetButton; QString m_key; }; |