forked from qt-creator/qt-creator
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:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user