mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4903 Use helper function for action shortcut everywhere
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user