mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
don't catch DeprecationWarnings in the GUI
This commit is contained in:
parent
06399446e3
commit
8e7e01ccfd
1 changed files with 2 additions and 0 deletions
|
@ -72,6 +72,8 @@ class ErrorHandler(QObject):
|
||||||
self.mw.progress.clear()
|
self.mw.progress.clear()
|
||||||
if "abortSchemaMod" in error:
|
if "abortSchemaMod" in error:
|
||||||
return
|
return
|
||||||
|
if "DeprecationWarning" in error:
|
||||||
|
return
|
||||||
if "10013" in error:
|
if "10013" in error:
|
||||||
return showWarning(tr(TR.QT_MISC_YOUR_FIREWALL_OR_ANTIVIRUS_PROGRAM_IS))
|
return showWarning(tr(TR.QT_MISC_YOUR_FIREWALL_OR_ANTIVIRUS_PROGRAM_IS))
|
||||||
if "no default input" in error.lower():
|
if "no default input" in error.lower():
|
||||||
|
|
Loading…
Reference in a new issue