sviatoslav-lebediev / anki-quizlet-importer-extended

86 stars 10 forks source link

To make it work, change Qt.StrongFocus to Qt.FocusPolicy.StrongFocus #139

Closed nclvrps closed 8 months ago

nclvrps commented 10 months ago

Describe the bug Qt.StrongFocus no longer works, it now needs to be Qt.FocusPolicy.StrongFocus. This change is also backwards compatible. Other Qt enums might also need to be changed, see https://doc.qt.io/qt-6/qt.html

Quizlet deck URL none

Additional context https://forums.ankiweb.net/t/porting-tips-for-anki-23-10/35916

sviatoslav-lebediev commented 10 months ago

Hi, is it the improvement request or it doesn't work at all? I have added a check for Qt.StrongFocus so I would expect it to work. If it's an improvement request and you know how to do this could you please add a PR ? I'm not a python dev and it will take time to add these changes