remove pyqt broken check hack

This commit is contained in:
Damien Elmes 2010-04-01 23:04:15 +09:00
parent 18ad89da7b
commit 02003ff1ed
2 changed files with 0 additions and 8 deletions

View file

@ -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

View file

@ -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")