mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
turn off webview cache to reduce memory footprint
This commit is contained in:
parent
aa77df0805
commit
7d86984a12
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ class AnkiWebView(QWebEngineView):
|
|||
|
||||
self.keyEventDelegate = None
|
||||
|
||||
self._page.profile().setHttpCacheType(QWebEngineProfile.MemoryHttpCache)
|
||||
self._page.profile().setHttpCacheType(QWebEngineProfile.NoCache)
|
||||
self.resetHandlers()
|
||||
self.allowDrops = False
|
||||
QShortcut(QKeySequence("Esc"), self,
|
||||
|
|
Loading…
Reference in a new issue