From e896e34d4351ede7c3ee9a8f35dde992cf0790ef Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 4 Apr 2025 13:24:21 +0900 Subject: [PATCH] Replace TRUE/FALSE with boolean values true/false Signed-off-by: Michele Calgaro --- examples/PkExample.cpp | 2 +- gui/polkit-tqt-gui-action.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/PkExample.cpp b/examples/PkExample.cpp index f329af699..58023c49a 100644 --- a/examples/PkExample.cpp +++ b/examples/PkExample.cpp @@ -88,7 +88,7 @@ PkExample::PkExample() : TQMainWindow(nullptr, "Polkit tqt example application", grid->addWidget(deletePB, 5, 1); deleteL_2 = new TQLabel(privateLayoutWidget, "deleteL_2"); - setCB = new TQComboBox(FALSE, privateLayoutWidget, "setCB"); + setCB = new TQComboBox(false, privateLayoutWidget, "setCB"); grid->addMultiCellWidget(deleteL_2, 6, 7, 0, 0); grid->addWidget(setCB, 6, 1); diff --git a/gui/polkit-tqt-gui-action.cpp b/gui/polkit-tqt-gui-action.cpp index fad976681..ee14921ef 100644 --- a/gui/polkit-tqt-gui-action.cpp +++ b/gui/polkit-tqt-gui-action.cpp @@ -216,7 +216,7 @@ bool Action::activate() if (d->noEnabled) { /* If PolicyKit says no... and we got here.. it means - * that the user set the property "no-enabled" to TRUE.. + * that the user set the property "no-enabled" to true.. * Hence, they probably have a good reason for doing * this so do let the 'activate' signal propagate.. */