1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-10 08:04:25 +02: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(); f.close();
QHBoxLayout* outerModeLayout = new QHBoxLayout; QHBoxLayout* outerModeLayout = new QHBoxLayout;
m_verticalLayout->addLayout( outerModeLayout ); m_mainLayout->addLayout( outerModeLayout );
outerModeLayout->addSpacing( 156 ); outerModeLayout->addSpacing( 156 );
outerModeLayout->addStretch(); outerModeLayout->addStretch();

View File

@@ -31,7 +31,7 @@ ScriptCollectionHeader::ScriptCollectionHeader( QWidget* parent )
m_refreshButton->setFlat( true ); m_refreshButton->setFlat( true );
m_refreshButton->setStyleSheet( "QPushButton { border: 0px; background: transparent; }" ); m_refreshButton->setStyleSheet( "QPushButton { border: 0px; background: transparent; }" );
QHBoxLayout* descLayout = new QHBoxLayout; QHBoxLayout* descLayout = new QHBoxLayout;
m_verticalLayout->insertLayout( m_verticalLayout->indexOf( m_descriptionLabel ), m_mainLayout->insertLayout( m_mainLayout->indexOf( m_descriptionLabel ),
descLayout ); descLayout );
descLayout->addWidget( m_descriptionLabel ); descLayout->addWidget( m_descriptionLabel );
TomahawkUtils::unmarginLayout( descLayout ); TomahawkUtils::unmarginLayout( descLayout );