Add enabled to QGuiAction debug output

It is a rather important property

Change-Id: I085031531235b1776faf5d2b52269ed4a05f0704
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
bb10
Allan Sandfeld Jensen 2020-02-17 17:36:46 +01:00
parent 2f521438eb
commit 498cf6a455
1 changed files with 1 additions and 0 deletions

View File

@ -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';