From 0ee946e4cf239295e382af06e6404cb48fb4e2fa Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 5 Dec 2025 18:54:52 +0900 Subject: Replace TRUE/FALSE with boolean values true/false - part 6 Signed-off-by: Michele Calgaro (cherry picked from commit 771af909e74927126fba90ec6e0298dc68d5bf4f) --- src/dialogs/qerrormessage.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/dialogs/qerrormessage.cpp') diff --git a/src/dialogs/qerrormessage.cpp b/src/dialogs/qerrormessage.cpp index 5fe1b9bf6..42b1e0aee 100644 --- a/src/dialogs/qerrormessage.cpp +++ b/src/dialogs/qerrormessage.cpp @@ -117,7 +117,7 @@ static void deleteStaticcTQErrorMessage() // post-routine } } -static bool metFatal = FALSE; +static bool metFatal = false; void jump( TQtMsgType t, const char * m ) { @@ -169,7 +169,7 @@ TQErrorMessage::TQErrorMessage( TQWidget * parent, const char * name ) errors = new TQErrorMessageTextView( this, "errors" ); grid->addWidget( errors, 0, 1 ); again = new TQCheckBox( tr( "&Show this message again" ), this, "again" ); - again->setChecked( TRUE ); + again->setChecked( true ); grid->addWidget( again, 1, 1, AlignTop + AlignAuto ); ok = new TQPushButton( tr( "&OK" ), this, "ok" ); connect( ok, TQ_SIGNAL(clicked()), this, TQ_SLOT(accept()) ); @@ -244,10 +244,10 @@ bool TQErrorMessage::nextPending() pending->remove( pending->begin() ); if ( !p.isEmpty() && !doNotShow->find( p ) ) { errors->setText( p ); - return TRUE; + return true; } } - return FALSE; + return false; } -- cgit v1.2.3