Fix tool tips of output pane buttons

Were not shown anymore. Regression already in 3.6.

Change-Id: Id92a7655423add70864a123e16e4a3d344289612
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
This commit is contained in:
Eike Ziller
2016-03-22 09:50:39 +01:00
parent bc95eaaa23
commit ed8b492728

View File

@@ -634,11 +634,12 @@ OutputPaneToggleButton::OutputPaneToggleButton(int number, const QString &text,
auto updateSlot = static_cast<void (QWidget::*)()>(&QWidget::update);
connect(m_flashTimer, &QTimeLine::valueChanged, this, updateSlot);
connect(m_flashTimer, &QTimeLine::finished, this, updateSlot);
updateToolTip();
}
void OutputPaneToggleButton::updateToolTip()
{
Q_ASSERT(m_action);
QTC_ASSERT(m_action, return);
setToolTip(m_action->toolTip());
}