From 49be0e77cff8b9e5de9936ba23a8b1e8388736ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Lindstr=C3=B6m?= Date: Mon, 1 Apr 2013 19:06:42 +0200 Subject: [PATCH] Remove unused, stylefix --- src/libtomahawk/widgets/WhatsHotWidget.cpp | 4 +--- src/libtomahawk/widgets/WhatsHotWidget.h | 6 ++---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/libtomahawk/widgets/WhatsHotWidget.cpp b/src/libtomahawk/widgets/WhatsHotWidget.cpp index fc29e9948..fc553ec02 100644 --- a/src/libtomahawk/widgets/WhatsHotWidget.cpp +++ b/src/libtomahawk/widgets/WhatsHotWidget.cpp @@ -62,7 +62,6 @@ WhatsHotWidget::WhatsHotWidget( QWidget* parent ) , m_spinner( 0 ) , m_loading( true ) { - qDebug() << Q_FUNC_INFO; ui->setupUi( this ); TomahawkUtils::unmarginLayout( layout() ); @@ -217,7 +216,7 @@ WhatsHotWidget::infoSystemInfo( Tomahawk::InfoSystem::InfoRequestData requestDat { case InfoSystem::InfoChartCapabilities: { - setViewData(returnedData); + setViewData( returnedData ); } case InfoSystem::InfoChart: { @@ -374,7 +373,6 @@ WhatsHotWidget::infoSystemFinished( QString target ) { if ( target != s_whatsHotIdentifier ) { - tDebug(LOGVERBOSE) << Q_FUNC_INFO << "Bad target" << target << s_whatsHotIdentifier; return; } diff --git a/src/libtomahawk/widgets/WhatsHotWidget.h b/src/libtomahawk/widgets/WhatsHotWidget.h index ec2192cf7..ea90c309b 100644 --- a/src/libtomahawk/widgets/WhatsHotWidget.h +++ b/src/libtomahawk/widgets/WhatsHotWidget.h @@ -96,7 +96,7 @@ private: void setLeftViewArtists( TreeModel* artistModel ); void setLeftViewAlbums( PlayableModel* albumModel ); void setLeftViewTracks( PlaylistModel* trackModel ); - void setViewData(const QVariantMap &data); + void setViewData( const QVariantMap& data ); QStandardItem* parseNode( QStandardItem* parentItem, const QString& label, const QVariant& data ); @@ -118,11 +118,9 @@ private: QHash< QString, PlaylistModel* > m_trackModels; QString m_queueItemToShow; QSet< QString > m_queuedFetches; - QTimer* m_timer; QMap m_currentVIds; - AnimatedSpinner *m_spinner; - QList m_charts; + AnimatedSpinner* m_spinner; bool m_loading; friend class Tomahawk::ChartsPlaylistInterface; };