#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

@@ -101,7 +101,8 @@ void RicSaveProjectFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setText( "&Save Project" );
actionToSetup->setIcon( QIcon( ":/Save.png" ) );
actionToSetup->setShortcuts( QKeySequence::Save );
applyShortcutWithHintToAction( actionToSetup, QKeySequence::Save );
}
//--------------------------------------------------------------------------------------------------