From 5d77da374ddc8da6e887a7a9a48679c4c91f0fd0 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Mon, 20 Jan 2014 17:51:33 +0100 Subject: [PATCH] Remove unused biography widget from AlbumInfoWidget --- .../widgets/infowidgets/AlbumInfoWidget.cpp | 19 ------------------- .../widgets/infowidgets/AlbumInfoWidget.ui | 19 ------------------- 2 files changed, 38 deletions(-) diff --git a/src/libtomahawk/widgets/infowidgets/AlbumInfoWidget.cpp b/src/libtomahawk/widgets/infowidgets/AlbumInfoWidget.cpp index 28b62e9b9..09c039e7b 100644 --- a/src/libtomahawk/widgets/infowidgets/AlbumInfoWidget.cpp +++ b/src/libtomahawk/widgets/infowidgets/AlbumInfoWidget.cpp @@ -101,25 +101,6 @@ AlbumInfoWidget::AlbumInfoWidget( const Tomahawk::album_ptr& album, QWidget* par TomahawkStyle::stylePageFrame( ui->albumFrame ); } - { - QFont f = ui->biography->font(); - f.setFamily( "Titillium Web" ); - - QPalette p = ui->biography->palette(); - p.setColor( QPalette::Text, TomahawkStyle::HEADER_TEXT ); - - ui->biography->setFont( f ); - ui->biography->setPalette( p ); - ui->biography->setOpenLinks( false ); - ui->biography->setOpenExternalLinks( true ); - - ui->biography->document()->setDefaultStyleSheet( QString( "a { text-decoration: none; font-weight: bold; color: %1; }" ).arg( TomahawkStyle::HEADER_LINK.name() ) ); - TomahawkStyle::stylePageFrame( ui->biography ); - TomahawkStyle::styleScrollBar( ui->biography->verticalScrollBar() ); - -// connect( ui->biography, SIGNAL( anchorClicked( QUrl ) ), SLOT( onBiographyLinkClicked( QUrl ) ) ); - } - { QFont f = ui->albumLabel->font(); f.setFamily( "Titillium Web" ); diff --git a/src/libtomahawk/widgets/infowidgets/AlbumInfoWidget.ui b/src/libtomahawk/widgets/infowidgets/AlbumInfoWidget.ui index aa6e349e5..e1f22fb8d 100644 --- a/src/libtomahawk/widgets/infowidgets/AlbumInfoWidget.ui +++ b/src/libtomahawk/widgets/infowidgets/AlbumInfoWidget.ui @@ -114,25 +114,6 @@ - - - - - 0 - 0 - - - - - 0 - 190 - - - - Qt::ScrollBarAlwaysOff - - -