#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

@@ -70,5 +70,6 @@ void RicExitApplicationFeature::onActionTriggered( bool isChecked )
void RicExitApplicationFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setText( "E&xit" );
actionToSetup->setShortcut( QKeySequence::Quit );
applyShortcutWithHintToAction( actionToSetup, QKeySequence::Quit );
}