From cf818f64c658f00ee00792e09d7539692acc3da1 Mon Sep 17 00:00:00 2001 From: Leo Franchi Date: Wed, 2 Nov 2011 23:16:25 -0400 Subject: [PATCH] use Show/Hide Footnotes instead of just Footnotes. No other way to distinguish this is actually a button, and be consistent with Show/Hide Queue --- src/libtomahawk/context/ContextWidget.cpp | 4 ++++ src/libtomahawk/context/ContextWidget.ui | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/libtomahawk/context/ContextWidget.cpp b/src/libtomahawk/context/ContextWidget.cpp index 747dbac87..f2006e31c 100644 --- a/src/libtomahawk/context/ContextWidget.cpp +++ b/src/libtomahawk/context/ContextWidget.cpp @@ -276,10 +276,14 @@ ContextWidget::onAnimationFinished() m_scene->setSceneRect( ui->contextView->viewport()->rect() ); layoutViews( false ); setQuery( m_query, true ); + + ui->toggleButton->setText( tr( "Hide Footnotes" ) ); } else { setFixedHeight( m_minHeight ); + + ui->toggleButton->setText( tr( "Show Footnotes" ) ); } } diff --git a/src/libtomahawk/context/ContextWidget.ui b/src/libtomahawk/context/ContextWidget.ui index 336fbb413..77a9f2fe8 100644 --- a/src/libtomahawk/context/ContextWidget.ui +++ b/src/libtomahawk/context/ContextWidget.ui @@ -35,7 +35,7 @@ - Footnotes + Show Footnotes Qt::AlignCenter