mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Merge branch 'master' of github.com:dae/anki
This commit is contained in:
commit
22d6feed87
1 changed files with 5 additions and 0 deletions
|
@ -73,6 +73,7 @@ class AnkiQt(QMainWindow):
|
|||
self.setupThreads()
|
||||
self.setupMediaServer()
|
||||
self.setupSound()
|
||||
self.setupSpellCheck()
|
||||
self.setupMainWindow()
|
||||
self.setupSystemSpecific()
|
||||
self.setupStyle()
|
||||
|
@ -637,6 +638,10 @@ title="%s" %s>%s</button>''' % (
|
|||
if not self.safeMode:
|
||||
self.addonManager.loadAddons()
|
||||
|
||||
def setupSpellCheck(self):
|
||||
os.environ["QTWEBENGINE_DICTIONARIES_PATH"] = (
|
||||
os.path.join(self.pm.base, "dictionaries"))
|
||||
|
||||
def setupThreads(self):
|
||||
self._mainThread = QThread.currentThread()
|
||||
|
||||
|
|
Loading…
Reference in a new issue