Fix indentation
This commit is contained in:
parent
37d37148b7
commit
baa3bd18a0
@ -65,8 +65,8 @@ class DiskCache(QNetworkDiskCache):
|
|||||||
"""Update cache size/activated if the config was changed."""
|
"""Update cache size/activated if the config was changed."""
|
||||||
if (section, option) == ('storage', 'cache-size'):
|
if (section, option) == ('storage', 'cache-size'):
|
||||||
self.setMaximumCacheSize(config.get('storage', 'cache-size'))
|
self.setMaximumCacheSize(config.get('storage', 'cache-size'))
|
||||||
elif (section, option) == ('general', # pragma: no branch
|
elif (section, option) == ('general', # pragma: no branch
|
||||||
'private-browsing'):
|
'private-browsing'):
|
||||||
self._maybe_activate()
|
self._maybe_activate()
|
||||||
|
|
||||||
def cacheSize(self):
|
def cacheSize(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user