1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-09 23:57:34 +02:00

* Renamed contextual view to 'Footnotes'.

This commit is contained in:
Christian Muehlhaeuser
2011-09-06 04:55:50 +02:00
parent 7fcdbe9c9e
commit 23ecf1264f
2 changed files with 1 additions and 5 deletions

View File

@@ -87,7 +87,6 @@ ContextWidget::ContextWidget( QWidget* parent )
boldFont.setPixelSize( 12 ); boldFont.setPixelSize( 12 );
boldFont.setBold( true ); boldFont.setBold( true );
ui->toggleButton->setFont( boldFont ); ui->toggleButton->setFont( boldFont );
ui->toggleButton->setText( tr( "Open Dashboard" ) );
setAutoFillBackground( true ); setAutoFillBackground( true );
setFixedHeight( m_minHeight ); setFixedHeight( m_minHeight );
@@ -239,15 +238,12 @@ ContextWidget::toggleSize()
if ( height() == m_minHeight ) if ( height() == m_minHeight )
{ {
ui->toggleButton->setText( tr( "Close Dashboard" ) );
m_timeLine->setFrameRange( height(), m_maxHeight ); m_timeLine->setFrameRange( height(), m_maxHeight );
m_timeLine->setDirection( QTimeLine::Forward ); m_timeLine->setDirection( QTimeLine::Forward );
m_timeLine->start(); m_timeLine->start();
} }
else else
{ {
ui->toggleButton->setText( tr( "Open Dashboard" ) );
m_visible = false; m_visible = false;
ui->contextView->hide(); ui->contextView->hide();

View File

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