mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 07:22:23 -04:00
remove pyqt broken check hack
This commit is contained in:
parent
18ad89da7b
commit
02003ff1ed
2 changed files with 0 additions and 8 deletions
|
@ -1727,11 +1727,6 @@ learnt today")
|
|||
removeHook("deckFinished", self.onCardStats)
|
||||
|
||||
def onShowGraph(self):
|
||||
if ui.utils.pyQtBroken:
|
||||
ui.utils.showInfo(
|
||||
"Your PyQt installation is broken. "
|
||||
"Please upgrade or downgrade PyQt.")
|
||||
return
|
||||
self.setStatus(_("Loading graphs (may take time)..."))
|
||||
self.app.processEvents()
|
||||
import anki.graphs
|
||||
|
|
|
@ -281,6 +281,3 @@ class ProgressWin(object):
|
|||
self.app.processEvents()
|
||||
time.sleep(0.1)
|
||||
self.diag.cancel()
|
||||
|
||||
import PyQt4.pyqtconfig as PyConf;
|
||||
pyQtBroken = PyConf.Configuration().pyqt_version_str.startswith("4.6")
|
||||
|
|
Loading…
Reference in a new issue