Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with 23.10 #86

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

Foxy-null
Copy link

@Foxy-null Foxy-null commented Dec 27, 2023

Description

Concisely describe what the pull request is trying to achieve. If pertinent, link to an existing issue report, or briefly explain the problem the PR is meant to solve. Feel free to attach screenshots or other media for UI-related changes.

Checklist:

Please replace the space inside the brackets with an x and fill out the ellipses if the following items apply:

  • I've read and understood the contribution guidelines
  • I've tested my changes against at least one of the following Anki builds:
    • Latest standard Anki 2.1 binary build
    • Latest alternative Anki 2.1 binary build
  • I've tested my changes on at least one of the following platforms:
    • Linux, version:
    • Windows, version: Windows 11
    • macOS, version:

This fixes #85

'configeditor.py': Replace 'QDialogButtonBox.Help' => 'QDialogButtonBox.StandardButton.Help' (1)
'configeditor.py': Replace 'QDialogButtonBox.RestoreDefaults' => 'QDialogButtonBox.StandardButton.RestoreDefaults' (1)
'dialog_configeditor.py': Replace 'QDialogButtonBox.Help' => 'QDialogButtonBox.StandardButton.Help' (1)
'dialog_configeditor.py': Replace 'QDialogButtonBox.RestoreDefaults' => 'QDialogButtonBox.StandardButton.RestoreDefaults' (1)
'dialog_options.py': Replace 'Qt.Key_Return' => 'Qt.Key.Key_Return' (1)
'dialog_options.py': Replace 'Qt.Key_Enter' => 'Qt.Key.Key_Enter' (1)
'labelformatter.py': Replace 'Qt.FindChildrenRecursively' => 'Qt.FindChildOption.FindChildrenRecursively' (1)
'dialog_mapped.py': Replace 'QDialogButtonBox.RestoreDefaults' => 'QDialogButtonBox.StandardButton.RestoreDefaults' (1)
'interface.py': Replace 'Qt.UserRole' => 'Qt.ItemDataRole.UserRole' (8)
'qkeygrabber.py': Replace 'Qt.Key_Shift' => 'Qt.Key.Key_Shift' (1)
'qkeygrabber.py': Replace 'Qt.Key_Control' => 'Qt.Key.Key_Control' (1)
'qkeygrabber.py': Replace 'Qt.Key_Meta' => 'Qt.Key.Key_Meta' (1)
'qkeygrabber.py': Replace 'Qt.Key_Alt' => 'Qt.Key.Key_Alt' (1)
'qkeygrabber.py': Replace 'Qt.AlignCenter' => 'Qt.AlignmentFlag.AlignCenter' (1)
'qkeygrabber.py': Replace 'QKeySequence.NativeText' => 'QKeySequence.SequenceFormat.NativeText' (1)
'qkeygrabber.py': Replace 'QKeySequence.PortableText' => 'QKeySequence.SequenceFormat.PortableText' (1)
'qutils.py': Replace 'QMessageBox.Information' => 'QMessageBox.Icon.Information' (1)
'qutils.py': Replace 'QMessageBox.Warning' => 'QMessageBox.Icon.Warning' (1)
'qutils.py': Replace 'QMessageBox.Critical' => 'QMessageBox.Icon.Critical' (1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Not working in Anki 23.10
1 participant