Skip to content

Commit

Permalink
Merge branch 'master' of github.com:tomahawk-player/tomahawk
Browse files Browse the repository at this point in the history
  • Loading branch information
lfranchi committed Aug 14, 2011
2 parents f9af1e0 + 198ad22 commit 7d2c284
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/libtomahawk/viewmanager.cpp
Expand Up @@ -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 );
Expand Down

0 comments on commit 7d2c284

Please sign in to comment.