From b60f673468f67551d89a099d171405ca5029886d Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sun, 17 May 2015 14:14:23 +0200 Subject: [PATCH] Fix @pyqtSlot signature for on_config_changed. --- qutebrowser/browser/cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/browser/cache.py b/qutebrowser/browser/cache.py index 03f6c7a2e..c649cc129 100644 --- a/qutebrowser/browser/cache.py +++ b/qutebrowser/browser/cache.py @@ -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'):