Fix @pyqtSlot signature for on_config_changed.
This commit is contained in:
parent
8ab2772dd9
commit
b60f673468
@ -52,7 +52,7 @@ class DiskCache(QNetworkDiskCache):
|
||||
maxsize=self.maximumCacheSize(),
|
||||
path=self.cacheDirectory())
|
||||
|
||||
@pyqtSlot()
|
||||
@pyqtSlot(str, str)
|
||||
def on_config_changed(self, section, option):
|
||||
"""Update cache size/activated if the config was changed."""
|
||||
if (section, option) == ('storage', 'cache-size'):
|
||||
|
Loading…
Reference in New Issue
Block a user