Fix @pyqtSlot signature for on_config_changed.

This commit is contained in:
Florian Bruhin 2015-05-17 14:14:23 +02:00
parent 8ab2772dd9
commit b60f673468

View File

@ -52,7 +52,7 @@ class DiskCache(QNetworkDiskCache):
maxsize=self.maximumCacheSize(), maxsize=self.maximumCacheSize(),
path=self.cacheDirectory()) path=self.cacheDirectory())
@pyqtSlot() @pyqtSlot(str, str)
def on_config_changed(self, section, option): def on_config_changed(self, section, option):
"""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'):