#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

@@ -92,5 +92,6 @@ void RicSaveProjectAsFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setText( "Save Project &As" );
actionToSetup->setIcon( QIcon( ":/Save.png" ) );
actionToSetup->setShortcuts( QKeySequence::SaveAs );
applyShortcutWithHintToAction( actionToSetup, QKeySequence::SaveAs );
}