Update Furious/Qt/QtGui.py

Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
Loren Eteval
2026-08-19 08:47:19 +08:00
parent 9e99b2ea08
commit f437d042fd
+4 -1
View File
@@ -168,7 +168,10 @@ class AppQAction(Mixins.QTranslatable, Mixins.ThemeAware, QAction):
if statusTip is not None:
self.setStatusTip(statusTip)
# Handy callback to be able to link with lambda
# This is intentionally a strong reference for the QAction's lifetime.
# Current actions are scoped to an owning widget/menu. An application-
# lifetime action must never store a transient receiver's bound method
# here, or it will retain that receiver and its complete Qt object tree.
self.callback = callback
if shortcut is not None: