summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-02-17 17:36:46 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-02-20 09:05:28 +0100
commit498cf6a455230568b62c1b1a2b94d81fee912f63 (patch)
tree66086d69fe35296acbafaa7786dd0fb3de83dfcb /src/gui/kernel
parent2f521438ebe5306d97b24a530ed4dc025b12052b (diff)
Add enabled to QGuiAction debug output
It is a rather important property Change-Id: I085031531235b1776faf5d2b52269ed4a05f0704 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/gui/kernel')
-rw-r--r--src/gui/kernel/qguiaction.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qguiaction.cpp b/src/gui/kernel/qguiaction.cpp
index e57da01568..f111d4fe91 100644
--- a/src/gui/kernel/qguiaction.cpp
+++ b/src/gui/kernel/qguiaction.cpp
@@ -1200,6 +1200,7 @@ Q_GUI_EXPORT QDebug operator<<(QDebug d, const QGuiAction *action)
#endif
d << " menuRole=";
QtDebugUtils::formatQEnum(d, action->menuRole());
+ d << " enabled=" << action->isEnabled();
d << " visible=" << action->isVisible();
} else {
d << '0';