mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 23:42:23 -04:00
remove qstringlist ref from init, disable cram for now
This commit is contained in:
parent
a253d756e3
commit
f0311d1ecb
2 changed files with 5 additions and 4 deletions
|
@ -138,7 +138,7 @@ def run():
|
|||
rd = runningDir
|
||||
if isMac and getattr(sys, 'frozen', None):
|
||||
rd = os.path.abspath(runningDir + "/../../..")
|
||||
QCoreApplication.setLibraryPaths(QStringList([rd]))
|
||||
QCoreApplication.setLibraryPaths([rd])
|
||||
|
||||
# create the app
|
||||
app = AnkiApp(sys.argv)
|
||||
|
|
|
@ -6,7 +6,7 @@ import simplejson
|
|||
from aqt.qt import *
|
||||
from anki.consts import NEW_CARDS_RANDOM
|
||||
from anki.hooks import addHook
|
||||
from aqt.utils import limitedCount
|
||||
from aqt.utils import limitedCount, showInfo
|
||||
|
||||
class Overview(object):
|
||||
"Deck overview."
|
||||
|
@ -44,8 +44,9 @@ class Overview(object):
|
|||
self.mw.deck.reset()
|
||||
self.mw.moveToState("review")
|
||||
elif url == "cram":
|
||||
self.mw.deck.cramGroups()
|
||||
self.mw.moveToState("review")
|
||||
return showInfo("not yet implemented")
|
||||
#self.mw.deck.cramGroups()
|
||||
#self.mw.moveToState("review")
|
||||
elif url == "opts":
|
||||
self.mw.onStudyOptions()
|
||||
elif url == "chgrp":
|
||||
|
|
Loading…
Reference in a new issue