mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-24 09:49:42 +01:00
* Try to fix ViewManager, too.
This commit is contained in:
parent
f15dd8153f
commit
637ec28ab1
@ -80,6 +80,13 @@ ViewManager::ViewManager( QObject* parent )
|
||||
m_infobar = new InfoBar();
|
||||
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->setOrientation( Qt::Vertical );
|
||||
m_splitter->setChildrenCollapsible( false );
|
||||
@ -96,6 +103,9 @@ ViewManager::ViewManager( QObject* parent )
|
||||
|
||||
m_widget->layout()->addWidget( m_infobar );
|
||||
m_widget->layout()->addWidget( m_topbar );
|
||||
#ifdef Q_OS_MAC
|
||||
m_widget->layout()->addWidget( line );
|
||||
#endif
|
||||
m_widget->layout()->addWidget( m_splitter );
|
||||
|
||||
m_superCollectionView = new ArtistView();
|
||||
|
Loading…
x
Reference in New Issue
Block a user