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.
This commit is contained in:
parent
5113fa8515
commit
e851839973
@ -178,12 +178,11 @@ class HintContext:
|
|||||||
return args
|
return args
|
||||||
|
|
||||||
|
|
||||||
class HintActions(QObject):
|
class HintActions:
|
||||||
|
|
||||||
"""Actions which can be done after selecting a hint."""
|
"""Actions which can be done after selecting a hint."""
|
||||||
|
|
||||||
def __init__(self, win_id, parent=None):
|
def __init__(self, win_id):
|
||||||
super().__init__(parent)
|
|
||||||
self._win_id = win_id
|
self._win_id = win_id
|
||||||
|
|
||||||
def click(self, elem, context):
|
def click(self, elem, context):
|
||||||
|
Loading…
Reference in New Issue
Block a user