From 21beba0881ac53d365b4b6269fcf130639dade9b Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Thu, 20 Jun 2013 09:31:03 +0200 Subject: [PATCH] * Style fixes. --- src/libtomahawk/Result.cpp | 8 +++++++- src/libtomahawk/widgets/WhatsHotWidget.cpp | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/libtomahawk/Result.cpp b/src/libtomahawk/Result.cpp index e99c81524..c290305cf 100644 --- a/src/libtomahawk/Result.cpp +++ b/src/libtomahawk/Result.cpp @@ -429,36 +429,42 @@ Result::sourceIcon( TomahawkUtils::ImageMode style, const QSize& desiredSize ) c } } + unsigned int Result::bitrate() const { return m_bitrate; } + unsigned int Result::size() const { return m_size; } + unsigned int Result::modificationTime() const { return m_modtime; } + void Result::setScore( float score ) { m_score = score; } + void -Result::setFileId(unsigned int id) +Result::setFileId( unsigned int id ) { m_fileId = id; } + Tomahawk::Resolver* Result::resolvedBy() const { diff --git a/src/libtomahawk/widgets/WhatsHotWidget.cpp b/src/libtomahawk/widgets/WhatsHotWidget.cpp index 419003ea4..3c012c60f 100644 --- a/src/libtomahawk/widgets/WhatsHotWidget.cpp +++ b/src/libtomahawk/widgets/WhatsHotWidget.cpp @@ -93,6 +93,8 @@ WhatsHotWidget::WhatsHotWidget( QWidget* parent ) ui->artistsViewLeft->setHorizontalScrollBarPolicy( Qt::ScrollBarAlwaysOff ); ui->artistsViewLeft->header()->setVisible( true ); +// ui->albumsView->setStyleSheet( QString( "QListView { background-color: black; }" ) ); + m_workerThread = new QThread( this ); m_workerThread->start(); @@ -117,7 +119,6 @@ WhatsHotWidget::WhatsHotWidget( QWidget* parent ) ui->stackLeft->setCurrentIndex( 2 ); m_spinner = new AnimatedSpinner( ui->albumsView ); m_spinner->fadeIn(); - }