Merge branch 'master' of https://github.com/sbinix/qutebrowser into sbinix-master
Conflicts: qutebrowser/config/websettings.py
This commit is contained in:
commit
706cc1a87f
@ -369,6 +369,9 @@ MAPPINGS = {
|
|||||||
|
|
||||||
def init():
|
def init():
|
||||||
"""Initialize the global QWebSettings."""
|
"""Initialize the global QWebSettings."""
|
||||||
|
if config.get('general', 'private-browsing'):
|
||||||
|
QWebSettings.setIconDatabasePath('')
|
||||||
|
else:
|
||||||
QWebSettings.setIconDatabasePath(standarddir.cache())
|
QWebSettings.setIconDatabasePath(standarddir.cache())
|
||||||
QWebSettings.setOfflineWebApplicationCachePath(
|
QWebSettings.setOfflineWebApplicationCachePath(
|
||||||
os.path.join(standarddir.cache(), 'application-cache'))
|
os.path.join(standarddir.cache(), 'application-cache'))
|
||||||
|
Loading…
Reference in New Issue
Block a user