mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-22 16:59:58 +01:00
* Another attempt.
This commit is contained in:
parent
637ec28ab1
commit
dce31156db
@ -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();
|
||||
|
@ -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;" );
|
||||
|
@ -67,7 +67,7 @@
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1000</width>
|
||||
<height>20</height>
|
||||
<height>22</height>
|
||||
</rect>
|
||||
</property>
|
||||
<widget class="QMenu" name="menuSettings">
|
||||
|
Loading…
x
Reference in New Issue
Block a user