From 498cf6a455230568b62c1b1a2b94d81fee912f63 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Mon, 17 Feb 2020 17:36:46 +0100 Subject: [PATCH] Add enabled to QGuiAction debug output It is a rather important property Change-Id: I085031531235b1776faf5d2b52269ed4a05f0704 Reviewed-by: Friedemann Kleint --- src/gui/kernel/qguiaction.cpp | 1 + 1 file changed, 1 insertion(+) 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';