1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-13 12:31:52 +02:00

Merge branch 'master' of github.com:tomahawk-player/tomahawk

This commit is contained in:
Leo Franchi 2011-08-14 17:16:02 -04:00
commit 7d2c284a3e

View File

@ -89,6 +89,10 @@ ViewManager::ViewManager( QObject* parent )
m_queueButton = new QPushButton();
m_queueButton->setSizePolicy( QSizePolicy::Preferred, QSizePolicy::Fixed );
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_queueModel = new PlaylistModel( m_queueView );