diff --git a/src/libtomahawk/viewmanager.cpp b/src/libtomahawk/viewmanager.cpp index 1be1c6a1e..6d990ebf3 100644 --- a/src/libtomahawk/viewmanager.cpp +++ b/src/libtomahawk/viewmanager.cpp @@ -80,13 +80,6 @@ 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 ); @@ -103,9 +96,6 @@ 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(); diff --git a/src/tomahawkwindow.cpp b/src/tomahawkwindow.cpp index 13dba067d..9db02154d 100644 --- a/src/tomahawkwindow.cpp +++ b/src/tomahawkwindow.cpp @@ -177,10 +177,8 @@ TomahawkWindow::applyPlatformTweaks() #endif #ifdef Q_OS_MAC - ui->hline1->setMaximumHeight( 0 ); - ui->hline2->setMaximumHeight( 0 ); - ui->hline1->hide(); - ui->hline2->hide(); + delete ui->hline1; + delete ui->hline2; #else ui->hline1->setStyleSheet( "border: 1px solid gray;" ); ui->hline2->setStyleSheet( "border: 1px solid gray;" ); diff --git a/src/tomahawkwindow.ui b/src/tomahawkwindow.ui index c9fde85c0..57f53bbbc 100644 --- a/src/tomahawkwindow.ui +++ b/src/tomahawkwindow.ui @@ -67,7 +67,7 @@ 0 0 1000 - 20 + 22