From c10b4e8c612af3578684dd05bb631bb47d371504 Mon Sep 17 00:00:00 2001 From: con <qtc-committer@nokia.com> Date: Wed, 20 Jan 2010 18:44:12 +0100 Subject: [PATCH] Adapt the tool tip text for the maximize/minimize output pane button. --- src/plugins/coreplugin/outputpane.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plugins/coreplugin/outputpane.cpp b/src/plugins/coreplugin/outputpane.cpp index 01cbaca2b5a..10f642e2d9a 100644 --- a/src/plugins/coreplugin/outputpane.cpp +++ b/src/plugins/coreplugin/outputpane.cpp @@ -219,7 +219,7 @@ OutputPaneManager::OutputPaneManager(QWidget *parent) : connect(m_prevAction, SIGNAL(triggered()), this, SLOT(slotPrev())); m_minMaxAction = new QAction(this); - m_minMaxAction->setText(tr("Minimize/Maximize Output Pane")); + m_minMaxAction->setText(tr("Maximize Output Pane")); m_minMaxButton->setArrowType(Qt::UpArrow); m_closeButton->setIcon(QIcon(":/core/images/closebutton.png")); @@ -416,6 +416,8 @@ void OutputPaneManager::slotMinMax() bool maximize = m_minMaxButton->arrowType() == Qt::UpArrow; OutputPanePlaceHolder::m_current->maximizeOrMinimize(maximize); m_minMaxButton->setArrowType(maximize ? Qt::DownArrow : Qt::UpArrow); + m_minMaxAction->setToolTip(maximize ? tr("Minimize Output Pane") + : tr("Maximize Output Pane")); } void OutputPaneManager::buttonTriggered() -- GitLab