1
0
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:
Christian Muehlhaeuser 2014-08-13 08:18:45 +02:00
parent 27acb247bc
commit dbf560e1bb
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -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 );