mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-09 07:36:48 +02:00
* Try to fix ViewManager, too.
This commit is contained in:
@@ -80,6 +80,13 @@ ViewManager::ViewManager( QObject* parent )
|
|||||||
m_infobar = new InfoBar();
|
m_infobar = new InfoBar();
|
||||||
m_stack = new QStackedWidget();
|
m_stack = new QStackedWidget();
|
||||||
|
|
||||||
|
#ifdef Q_OS_MAC
|
||||||
|
QFrame* line = new QFrame();
|
||||||
|
line->setFrameStyle( QFrame::HLine );
|
||||||
|
line->setStyleSheet( "border: 1px solid gray;" );
|
||||||
|
line->setMaximumHeight( 1 );
|
||||||
|
#endif
|
||||||
|
|
||||||
m_splitter = new AnimatedSplitter();
|
m_splitter = new AnimatedSplitter();
|
||||||
m_splitter->setOrientation( Qt::Vertical );
|
m_splitter->setOrientation( Qt::Vertical );
|
||||||
m_splitter->setChildrenCollapsible( false );
|
m_splitter->setChildrenCollapsible( false );
|
||||||
@@ -96,6 +103,9 @@ ViewManager::ViewManager( QObject* parent )
|
|||||||
|
|
||||||
m_widget->layout()->addWidget( m_infobar );
|
m_widget->layout()->addWidget( m_infobar );
|
||||||
m_widget->layout()->addWidget( m_topbar );
|
m_widget->layout()->addWidget( m_topbar );
|
||||||
|
#ifdef Q_OS_MAC
|
||||||
|
m_widget->layout()->addWidget( line );
|
||||||
|
#endif
|
||||||
m_widget->layout()->addWidget( m_splitter );
|
m_widget->layout()->addWidget( m_splitter );
|
||||||
|
|
||||||
m_superCollectionView = new ArtistView();
|
m_superCollectionView = new ArtistView();
|
||||||
|
Reference in New Issue
Block a user