From 3a3765c390dae70c83b6eea4ca372b202f9851b2 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Fri, 26 Sep 2014 09:07:22 +0200 Subject: [PATCH] * Hide release date until we're able to retrieve the data. --- src/libtomahawk/playlist/TrackDetailView.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libtomahawk/playlist/TrackDetailView.cpp b/src/libtomahawk/playlist/TrackDetailView.cpp index a7e844943..921994840 100644 --- a/src/libtomahawk/playlist/TrackDetailView.cpp +++ b/src/libtomahawk/playlist/TrackDetailView.cpp @@ -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 );