mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-13 20:39:57 +01:00
* Adapt headers to new BasicHeader API.
This commit is contained in:
parent
27acb247bc
commit
dbf560e1bb
@ -51,7 +51,7 @@ FlexibleHeader::FlexibleHeader( FlexibleView* parent )
|
||||
f.close();
|
||||
|
||||
QHBoxLayout* outerModeLayout = new QHBoxLayout;
|
||||
m_verticalLayout->addLayout( outerModeLayout );
|
||||
m_mainLayout->addLayout( outerModeLayout );
|
||||
outerModeLayout->addSpacing( 156 );
|
||||
outerModeLayout->addStretch();
|
||||
|
||||
|
@ -31,7 +31,7 @@ ScriptCollectionHeader::ScriptCollectionHeader( QWidget* parent )
|
||||
m_refreshButton->setFlat( true );
|
||||
m_refreshButton->setStyleSheet( "QPushButton { border: 0px; background: transparent; }" );
|
||||
QHBoxLayout* descLayout = new QHBoxLayout;
|
||||
m_verticalLayout->insertLayout( m_verticalLayout->indexOf( m_descriptionLabel ),
|
||||
m_mainLayout->insertLayout( m_mainLayout->indexOf( m_descriptionLabel ),
|
||||
descLayout );
|
||||
descLayout->addWidget( m_descriptionLabel );
|
||||
TomahawkUtils::unmarginLayout( descLayout );
|
||||
|
Loading…
x
Reference in New Issue
Block a user