From a49c131dec751c82f6aef9c0e0f2e57bb668a197 Mon Sep 17 00:00:00 2001 From: Leodanis Pozo Ramos Date: Tue, 15 Aug 2023 21:46:08 +0200 Subject: [PATCH] Fix key namespace --- videomorph/forms/videomorph.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/videomorph/forms/videomorph.py b/videomorph/forms/videomorph.py index d1aad12..1d3c7a2 100644 --- a/videomorph/forms/videomorph.py +++ b/videomorph/forms/videomorph.py @@ -348,7 +348,7 @@ def _create_actions(self): "open_media_file_action": dict( icon=QIcon(":/icons/video-file.png"), text=self.tr("&Add Videos..."), - shortcut=QKeySequence.Open, + shortcut=QKeySequence.StandardKey.Open, tip=self.tr("Add Videos to the " "List of Conversion Tasks"), callback=self.open_media_files, ), @@ -384,7 +384,7 @@ def _create_actions(self): "remove_media_file_action": dict( icon=QIcon(":/icons/remove-file.png"), text=self.tr("&Remove Video"), - shortcut=QKeySequence.Delete, + shortcut=QKeySequence.StandardKey.Delete, tip=self.tr( "Remove Selected Video from the " "List of Conversion Tasks" @@ -419,7 +419,7 @@ def _create_actions(self): "help_content_action": dict( icon=QIcon(":/icons/about.png"), text=self.tr("&Contents"), - shortcut=QKeySequence.HelpContents, + shortcut=QKeySequence.StandardKey.HelpContents, tip=self.tr("Help Contents"), callback=self.help_content, ), @@ -448,7 +448,7 @@ def _create_actions(self): "exit_action": dict( icon=QIcon(":/icons/exit.png"), text=self.tr("E&xit"), - shortcut=QKeySequence.Quit, + shortcut=QKeySequence.StandardKey.Quit, tip=self.tr("Exit") + " " + self.title, callback=self.close, ),