From fba255cc1335c02bfc3a67bd9101fb6c1c51e5c6 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Wed, 20 Jun 2012 16:20:49 +0200 Subject: [PATCH] * Removed obsolete loadingStarted/Finished methods in ArtistInfoWidget. --- .../widgets/infowidgets/ArtistInfoWidget.cpp | 15 --------------- .../widgets/infowidgets/ArtistInfoWidget.h | 3 --- 2 files changed, 18 deletions(-) diff --git a/src/libtomahawk/widgets/infowidgets/ArtistInfoWidget.cpp b/src/libtomahawk/widgets/infowidgets/ArtistInfoWidget.cpp index 2fbd650aa..a6f0afc76 100644 --- a/src/libtomahawk/widgets/infowidgets/ArtistInfoWidget.cpp +++ b/src/libtomahawk/widgets/infowidgets/ArtistInfoWidget.cpp @@ -97,9 +97,6 @@ ArtistInfoWidget::ArtistInfoWidget( const Tomahawk::artist_ptr& artist, QWidget* m_pixmap = TomahawkUtils::defaultPixmap( TomahawkUtils::DefaultArtistImage, TomahawkUtils::ScaledCover, QSize( 48, 48 ) ); ui->cover->setPixmap( TomahawkUtils::defaultPixmap( TomahawkUtils::DefaultArtistImage, TomahawkUtils::ScaledCover, QSize( ui->cover->sizeHint() ) ) ); - connect( m_albumsModel, SIGNAL( loadingStarted() ), SLOT( onLoadingStarted() ) ); - connect( m_albumsModel, SIGNAL( loadingFinished() ), SLOT( onLoadingFinished() ) ); - ui->biography->setStyleSheet( "QTextBrowser#biography { background-color: transparent; }" ); ui->biography->setFrameShape( QFrame::NoFrame ); ui->biography->setAttribute( Qt::WA_MacShowFocusRect, 0 ); @@ -151,18 +148,6 @@ ArtistInfoWidget::playlistInterface() const } -void -ArtistInfoWidget::onLoadingStarted() -{ -} - - -void -ArtistInfoWidget::onLoadingFinished() -{ -} - - bool ArtistInfoWidget::isBeingPlayed() const { diff --git a/src/libtomahawk/widgets/infowidgets/ArtistInfoWidget.h b/src/libtomahawk/widgets/infowidgets/ArtistInfoWidget.h index 91686e335..76afa1d45 100644 --- a/src/libtomahawk/widgets/infowidgets/ArtistInfoWidget.h +++ b/src/libtomahawk/widgets/infowidgets/ArtistInfoWidget.h @@ -99,9 +99,6 @@ private slots: void onTracksFound( const QList& queries, Tomahawk::ModelMode mode ); void onSimilarArtistsLoaded(); - void onLoadingStarted(); - void onLoadingFinished(); - private: Ui::ArtistInfoWidget *ui;