mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-08 07:07:05 +02:00
Remove unused biography widget from AlbumInfoWidget
This commit is contained in:
@@ -101,25 +101,6 @@ AlbumInfoWidget::AlbumInfoWidget( const Tomahawk::album_ptr& album, QWidget* par
|
|||||||
TomahawkStyle::stylePageFrame( ui->albumFrame );
|
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();
|
QFont f = ui->albumLabel->font();
|
||||||
f.setFamily( "Titillium Web" );
|
f.setFamily( "Titillium Web" );
|
||||||
|
@@ -114,25 +114,6 @@
|
|||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<widget class="QTextBrowser" name="biography">
|
|
||||||
<property name="sizePolicy">
|
|
||||||
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
|
|
||||||
<horstretch>0</horstretch>
|
|
||||||
<verstretch>0</verstretch>
|
|
||||||
</sizepolicy>
|
|
||||||
</property>
|
|
||||||
<property name="minimumSize">
|
|
||||||
<size>
|
|
||||||
<width>0</width>
|
|
||||||
<height>190</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="horizontalScrollBarPolicy">
|
|
||||||
<enum>Qt::ScrollBarAlwaysOff</enum>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
Reference in New Issue
Block a user