Skip to content

Commit

Permalink
Fix mac build
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Aug 13, 2021
1 parent dc5e385 commit 1acedba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsapplayertreeviewmenuprovider.cpp
Expand Up @@ -951,7 +951,7 @@ void QgsAppLayerTreeViewMenuProvider::addCustomLayerActions( QMenu *menu, QgsMap
{
// find or create menu for given menu name
// adapted from QgisApp::getPluginMenu( QString menuName )
const QString menuName = lyrActions[i].menu;
QString menuName = lyrActions[i].menu;
#ifdef Q_OS_MAC
// Mac doesn't have '&' keyboard shortcuts.
menuName.remove( QChar( '&' ) );
Expand Down

0 comments on commit 1acedba

Please sign in to comment.