summaryrefslogtreecommitdiff
path: root/qutebrowser/browser/signalfilter.py
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2014-05-15 17:57:08 +0200
committerFlorian Bruhin <git@the-compiler.org>2014-05-15 17:57:08 +0200
commitd3eaeaac91e686b4ca06d10a75f924f5b21c66e3 (patch)
treee898342f70b12d5ed44828355eba5b3cc8b20cdc /qutebrowser/browser/signalfilter.py
parent0d104b5813aff1dbfa2f509df749aa262c52c25f (diff)
downloadqutebrowser-d3eaeaac91e686b4ca06d10a75f924f5b21c66e3.tar.gz
qutebrowser-d3eaeaac91e686b4ca06d10a75f924f5b21c66e3.zip
First steps at getting rid of signal cache
Diffstat (limited to 'qutebrowser/browser/signalfilter.py')
-rw-r--r--qutebrowser/browser/signalfilter.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/qutebrowser/browser/signalfilter.py b/qutebrowser/browser/signalfilter.py
index c253643f9..6791fd797 100644
--- a/qutebrowser/browser/signalfilter.py
+++ b/qutebrowser/browser/signalfilter.py
@@ -61,9 +61,6 @@ class SignalFilter(QObject):
The original signal does not matter, since we get the new signal and
all args.
- The current value of the signal is also stored in tab.signal_cache so
- it can be emitted later when the tab changes to the current tab.
-
Args:
signal: The signal to emit if the sender was the current widget.
*args: The args to pass to the signal.
@@ -81,7 +78,6 @@ class SignalFilter(QObject):
logging.warn("Got signal {} by {} which is no tab!".format(
dbg_signal(signal, args), sender))
return
- sender.signal_cache.add(signal, args)
if self._tabs.currentWidget() == sender:
if log_signal:
logging.debug(" emitting")