mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-14 13:01:53 +02:00
Make compile on Mac.
This commit is contained in:
parent
6cb444bc76
commit
28ffe4a93a
@ -865,7 +865,11 @@ TomahawkWindow::pluginMenuAdded( QMenu* menu )
|
||||
button->setText( menu->title() );
|
||||
button->setMenu( menu );
|
||||
button->setToolButtonStyle( Qt::ToolButtonIconOnly );
|
||||
#ifdef Q_OS_MAC
|
||||
QAction *action = m_toolbar->addWidget( button );
|
||||
#else
|
||||
QAction *action = m_toolbar->insertWidget( m_compactMenuAction, button );
|
||||
#endif
|
||||
action->setProperty( "id", plugin->account()->accountId() );
|
||||
balanceToolbar();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user