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:
@@ -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();
|
||||||
|
|
||||||
|
@@ -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 );
|
||||||
|
Reference in New Issue
Block a user