Fix indentation

This commit is contained in:
Lamar Pavel 2015-11-01 20:12:57 +01:00
parent 37d37148b7
commit baa3bd18a0

View File

@ -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):