mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 06:07:37 +02:00
Merge branch 'master' of github.com:tomahawk-player/tomahawk
This commit is contained in:
@@ -89,6 +89,10 @@ ViewManager::ViewManager( QObject* parent )
|
|||||||
m_queueButton = new QPushButton();
|
m_queueButton = new QPushButton();
|
||||||
m_queueButton->setSizePolicy( QSizePolicy::Preferred, QSizePolicy::Fixed );
|
m_queueButton->setSizePolicy( QSizePolicy::Preferred, QSizePolicy::Fixed );
|
||||||
m_queueButton->setText( tr( "Click to show queue" ) );
|
m_queueButton->setText( tr( "Click to show queue" ) );
|
||||||
|
#ifdef Q_OS_MAC
|
||||||
|
// QPushButtons on mac have lots of weird layouting issues. Fix them by forcing the widget rect for layout calculations
|
||||||
|
m_queueButton->setAttribute( Qt::WA_LayoutUsesWidgetRect );
|
||||||
|
#endif
|
||||||
|
|
||||||
m_queueView = new QueueView( m_splitter );
|
m_queueView = new QueueView( m_splitter );
|
||||||
m_queueModel = new PlaylistModel( m_queueView );
|
m_queueModel = new PlaylistModel( m_queueView );
|
||||||
|
Reference in New Issue
Block a user