ProjectExplorer: Move use of some knowledge from KitAspectWidget to KitAspect

Essentially a follow-up to 09a7d2bd45.

Change-Id: I4dd9d64eec77ddf9cdccbac808e9a0978b9986bf
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2019-02-11 17:10:03 +01:00
parent 1d23f8b93d
commit 470ce8a856
8 changed files with 11 additions and 13 deletions

View File

@@ -80,7 +80,7 @@ public:
{
m_comboBox->setSizePolicy(QSizePolicy::Ignored, m_comboBox->sizePolicy().verticalPolicy());
m_comboBox->setEnabled(false);
m_comboBox->setToolTip(toolTip());
m_comboBox->setToolTip(ki->description());
foreach (CMakeTool *tool, CMakeToolManager::cmakeTools())
cmakeToolAdded(tool->id());
@@ -328,7 +328,7 @@ public:
m_label(new QLabel),
m_changeButton(new QPushButton)
{
m_label->setToolTip(toolTip());
m_label->setToolTip(ki->description());
m_changeButton->setText(tr("Change..."));
refresh();
connect(m_changeButton, &QPushButton::clicked,