1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-12 09:04:33 +02:00

* Only show results-box if there are multiple results.

This commit is contained in:
Christian Muehlhaeuser
2014-08-20 15:22:49 +02:00
parent 6695d5681d
commit a271d3967f

View File

@@ -223,6 +223,7 @@ TrackDetailView::onResultsChanged()
{
if ( !result->isOnline() )
continue;
QFont f = font();
f.setWeight( QFont::DemiBold );
f.setPointSize( 11 );
@@ -254,6 +255,6 @@ TrackDetailView::onResultsChanged()
m_resultsBox->layout()->addWidget( hbox );
}
if ( m_query->numResults() )
if ( m_query->numResults() > 1 )
m_resultsBox->show();
}