mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Remove dataChanged workaround on Windows
I believe this should be fixed in 6.4/6.5 https://bugreports.qt.io/browse/QTBUG-102738
This commit is contained in:
parent
7d2ec8ed65
commit
e63be7083c
1 changed files with 0 additions and 4 deletions
|
@ -1382,10 +1382,6 @@ class EditorWebView(AnkiWebView):
|
|||
def flagAnkiText(self) -> None:
|
||||
# be ready to adjust when clipboard event fires
|
||||
self._markInternal = True
|
||||
# workaround broken QClipboard.dataChanged() on recent Qt6 versions
|
||||
# https://github.com/ankitects/anki/issues/1793
|
||||
if is_win and qtmajor == 6:
|
||||
self.editor.mw.progress.single_shot(300, self._flagAnkiText, True)
|
||||
|
||||
def _flagAnkiText(self) -> None:
|
||||
# add a comment in the clipboard html so we can tell text is copied
|
||||
|
|
Loading…
Reference in a new issue