mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-22 17:01:51 +02:00
* Tint breadcrumb icon.
This commit is contained in:
parent
efe2952251
commit
19229d96bc
@ -68,14 +68,14 @@ Breadcrumb::setModel( QAbstractItemModel* model )
|
||||
void
|
||||
Breadcrumb::setRootIcon( const QPixmap& pm )
|
||||
{
|
||||
m_rootIcon = pm;
|
||||
m_rootIcon = TomahawkUtils::tinted( pm, Qt::white );
|
||||
|
||||
QPushButton* button = new QPushButton( QIcon( m_rootIcon ), "", this );
|
||||
button->setFlat( true );
|
||||
button->setStyleSheet( "QPushButton{ background-color: transparent; border: none; width:36px; height:36px;}" );
|
||||
button->setStyleSheet( "QPushButton{ background-color: transparent; border: none; width:36px; height:36px; }" );
|
||||
m_buttonlayout->insertWidget( 0, button );
|
||||
m_buttonlayout->insertSpacing( 0,5 );
|
||||
m_buttonlayout->insertSpacing( 2,5 );
|
||||
m_buttonlayout->insertSpacing( 0, 5 );
|
||||
m_buttonlayout->insertSpacing( 2, 5 );
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user