diff --git a/__init__.py b/__init__.py index 61ac067..e8fcb99 100644 --- a/__init__.py +++ b/__init__.py @@ -13,7 +13,7 @@ class AnnotationsPlugin(InterfaceActionBase): description = 'Import annotations' supported_platforms = ['linux', 'osx', 'windows'] author = 'David Forrester' - version = (1, 17, 10) + version = (1, 17, 11) minimum_calibre_version = (1, 0, 0) actual_plugin = 'calibre_plugins.annotations.action:AnnotationsAction' diff --git a/about.txt b/about.txt index d59898f..0e64918 100644 --- a/about.txt +++ b/about.txt @@ -1,4 +1,7 @@ Version history: +1.17.11 - 14 July 2022 +• Fix: Qt6 compatibility - Another enum issue. + 1.17.10 - 13 July 2022 • Fix: Qt6 compatibility - Another enum issue. • New: Enable support for import file chooser - thanks to @stbenjam diff --git a/common_utils.py b/common_utils.py index e31829b..1451a33 100644 --- a/common_utils.py +++ b/common_utils.py @@ -468,7 +468,7 @@ def __init__(self, type_, title, msg, opts, self.copy_action = QAction(self) self.addAction(self.copy_action) - self.copy_action.setShortcuts(QKeySequence.StandardKeys.Copy) + self.copy_action.setShortcuts(QKeySequence.StandardKey.Copy) self.copy_action.triggered.connect(self.copy_to_clipboard) self.is_question = type_ == self.QUESTION