mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-16 11:04:01 +02:00
Only show separator on non-osx since it makes the otherwise empty Help menu show up
This commit is contained in:
@@ -150,6 +150,10 @@ TomahawkWindow::TomahawkWindow( QWidget* parent )
|
|||||||
toolbar->setToolButtonStyle( Qt::ToolButtonFollowStyle );
|
toolbar->setToolButtonStyle( Qt::ToolButtonFollowStyle );
|
||||||
toolbar->installEventFilter( new WidgetDragFilter( toolbar ) );
|
toolbar->installEventFilter( new WidgetDragFilter( toolbar ) );
|
||||||
|
|
||||||
|
#ifndef Q_WS_MAC
|
||||||
|
ui->menuHelp->insertSeparator( 1 );
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined( Q_OS_DARWIN ) && defined( HAVE_SPARKLE )
|
#if defined( Q_OS_DARWIN ) && defined( HAVE_SPARKLE )
|
||||||
QAction* checkForUpdates = ui->menu_Help->addAction( tr( "Check For Updates...") );
|
QAction* checkForUpdates = ui->menu_Help->addAction( tr( "Check For Updates...") );
|
||||||
checkForUpdates->setMenuRole( QAction::ApplicationSpecificRole );
|
checkForUpdates->setMenuRole( QAction::ApplicationSpecificRole );
|
||||||
|
@@ -35,7 +35,7 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>1000</width>
|
<width>1000</width>
|
||||||
<height>20</height>
|
<height>22</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QMenu" name="menuSettings">
|
<widget class="QMenu" name="menuSettings">
|
||||||
@@ -84,7 +84,6 @@
|
|||||||
<string>&Help</string>
|
<string>&Help</string>
|
||||||
</property>
|
</property>
|
||||||
<addaction name="actionDiagnostics"/>
|
<addaction name="actionDiagnostics"/>
|
||||||
<addaction name="separator"/>
|
|
||||||
<addaction name="actionAboutTomahawk"/>
|
<addaction name="actionAboutTomahawk"/>
|
||||||
</widget>
|
</widget>
|
||||||
<addaction name="menuApp"/>
|
<addaction name="menuApp"/>
|
||||||
@@ -187,6 +186,9 @@
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Diagnostics...</string>
|
<string>Diagnostics...</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="menuRole">
|
||||||
|
<enum>QAction::ApplicationSpecificRole</enum>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
</widget>
|
</widget>
|
||||||
<layoutdefault spacing="6" margin="11"/>
|
<layoutdefault spacing="6" margin="11"/>
|
||||||
|
Reference in New Issue
Block a user