1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 11:20:22 +02:00

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

This commit is contained in:
Leo Franchi
2011-11-02 23:16:25 -04:00
parent b94445b32a
commit cf818f64c6
2 changed files with 5 additions and 1 deletions

View File

@@ -276,10 +276,14 @@ ContextWidget::onAnimationFinished()
m_scene->setSceneRect( ui->contextView->viewport()->rect() ); m_scene->setSceneRect( ui->contextView->viewport()->rect() );
layoutViews( false ); layoutViews( false );
setQuery( m_query, true ); setQuery( m_query, true );
ui->toggleButton->setText( tr( "Hide Footnotes" ) );
} }
else else
{ {
setFixedHeight( m_minHeight ); setFixedHeight( m_minHeight );
ui->toggleButton->setText( tr( "Show Footnotes" ) );
} }
} }

View File

@@ -35,7 +35,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Footnotes</string> <string>Show Footnotes</string>
</property> </property>
<property name="alignment"> <property name="alignment">
<set>Qt::AlignCenter</set> <set>Qt::AlignCenter</set>