mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 14:25:41 +02:00
Get rid of locale storage since it does not fix the crash
This commit is contained in:
parent
e47a2d888b
commit
2fb46fb3dd
1 changed files with 0 additions and 1 deletions
|
|
@ -73,7 +73,6 @@ def refresh_spell_check_status():
|
|||
def spell_property(sfmt, locale):
|
||||
s = QTextCharFormat(sfmt)
|
||||
s.setProperty(SPELL_LOCALE_PROPERTY, locale)
|
||||
s.mem = locale # ensure locale is not garbage collected
|
||||
return s
|
||||
_speedup.init(spell_property, dictionaries.recognized, split_into_words_and_positions)
|
||||
del spell_property
|
||||
|
|
|
|||
Loading…
Reference in a new issue