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:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user