From e8518399731961d8e50290d10fbddade0e682444 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 18 Aug 2016 14:39:13 +0200 Subject: [PATCH] Don't make HintActions a QObject It probably still makes sense for HintManager to be one for the moment though, as it's in the objreg. --- qutebrowser/browser/hints.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/qutebrowser/browser/hints.py b/qutebrowser/browser/hints.py index 7c59af8ee..79cc67539 100644 --- a/qutebrowser/browser/hints.py +++ b/qutebrowser/browser/hints.py @@ -178,12 +178,11 @@ class HintContext: return args -class HintActions(QObject): +class HintActions: """Actions which can be done after selecting a hint.""" - def __init__(self, win_id, parent=None): - super().__init__(parent) + def __init__(self, win_id): self._win_id = win_id def click(self, elem, context):