#4903 Use helper function for action shortcut everywhere

This commit is contained in:
Magne Sjaastad
2019-10-25 12:48:17 +02:00
parent f2d5adca60
commit 29c3ce0d06
8 changed files with 20 additions and 13 deletions

View File

@@ -69,5 +69,6 @@ void RicOpenProjectFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setText( "Open Project" );
actionToSetup->setIcon( QIcon( ":/openFolder24x24.png" ) );
actionToSetup->setShortcuts( QKeySequence::Open );
applyShortcutWithHintToAction( actionToSetup, QKeySequence::Open );
}