1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 07:49:42 +01:00

* Hide release date until we're able to retrieve the data.

This commit is contained in:
Christian Muehlhaeuser 2014-09-26 09:07:22 +02:00
parent cecc27b7c0
commit 3a3765c390

View File

@ -66,6 +66,7 @@ TrackDetailView::TrackDetailView( QWidget* parent )
f.setPointSize( TomahawkUtils::defaultFontSize() + 1 );
m_dateLabel->setFont( f );
m_dateLabel->setStyleSheet( "QLabel { color: rgba( 0, 0, 0, 70% ) }" );
m_dateLabel->hide(); //TODO
m_lovedIcon = new QLabel( this );
m_lovedIcon->setFixedWidth( TomahawkUtils::defaultFontSize() + 2 );
@ -170,6 +171,7 @@ TrackDetailView::setQuery( const Tomahawk::query_ptr& query )
}
m_dateLabel->setText( tr( "Unknown Release-Date" ) );
if ( m_query->track()->albumPtr() && !m_query->track()->albumPtr()->name().isEmpty() )
{
m_nameLabel->setType( QueryLabel::Album );