mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 19:30:21 +02:00
* Adapt headers to new BasicHeader API.
This commit is contained in:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user