Skip to content

Commit a49c131

Browse files
committed
Fix key namespace
1 parent b61adab commit a49c131

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

videomorph/forms/videomorph.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ def _create_actions(self):
348348
"open_media_file_action": dict(
349349
icon=QIcon(":/icons/video-file.png"),
350350
text=self.tr("&Add Videos..."),
351-
shortcut=QKeySequence.Open,
351+
shortcut=QKeySequence.StandardKey.Open,
352352
tip=self.tr("Add Videos to the " "List of Conversion Tasks"),
353353
callback=self.open_media_files,
354354
),
@@ -384,7 +384,7 @@ def _create_actions(self):
384384
"remove_media_file_action": dict(
385385
icon=QIcon(":/icons/remove-file.png"),
386386
text=self.tr("&Remove Video"),
387-
shortcut=QKeySequence.Delete,
387+
shortcut=QKeySequence.StandardKey.Delete,
388388
tip=self.tr(
389389
"Remove Selected Video from the "
390390
"List of Conversion Tasks"
@@ -419,7 +419,7 @@ def _create_actions(self):
419419
"help_content_action": dict(
420420
icon=QIcon(":/icons/about.png"),
421421
text=self.tr("&Contents"),
422-
shortcut=QKeySequence.HelpContents,
422+
shortcut=QKeySequence.StandardKey.HelpContents,
423423
tip=self.tr("Help Contents"),
424424
callback=self.help_content,
425425
),
@@ -448,7 +448,7 @@ def _create_actions(self):
448448
"exit_action": dict(
449449
icon=QIcon(":/icons/exit.png"),
450450
text=self.tr("E&xit"),
451-
shortcut=QKeySequence.Quit,
451+
shortcut=QKeySequence.StandardKey.Quit,
452452
tip=self.tr("Exit") + " " + self.title,
453453
callback=self.close,
454454
),

0 commit comments

Comments
 (0)