From 117c3b06dfff9b627acba1c6fc5b01066a7be5cb Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Wed, 13 Aug 2014 00:52:39 +0200 Subject: [PATCH] * Adapt InfoBar to new QueryLabel API. --- src/libtomahawk/infobar/InfoBar.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libtomahawk/infobar/InfoBar.cpp b/src/libtomahawk/infobar/InfoBar.cpp index 7feb7163a..4d9898177 100644 --- a/src/libtomahawk/infobar/InfoBar.cpp +++ b/src/libtomahawk/infobar/InfoBar.cpp @@ -105,7 +105,7 @@ InfoBar::InfoBar( QWidget* parent ) m_queryLabel->setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Preferred ); m_queryLabel->setFont( font ); m_queryLabel->hide(); - connect( m_queryLabel, SIGNAL( clickedArtist() ), this, SLOT( artistClicked() ) ); + connect( m_queryLabel, SIGNAL( clicked() ), this, SLOT( artistClicked() ) ); m_searchWidget = new QSearchField( this ); m_searchWidget->setPlaceholderText( tr( "Filter..." ) ); @@ -171,7 +171,6 @@ void InfoBar::setDescription( const artist_ptr& artist ) { m_queryLabel->setArtist( artist ); - m_queryLabel->setExtraContentsMargins( 4, 0, 0, 0 ); if ( !m_queryLabel->isVisible() ) {