From 39876d710881d647fd0d755d31b620a7214cf9ff Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 22 Mar 2025 14:28:03 +0900 Subject: Replace TRUE/FALSE with boolean values true/false Signed-off-by: Michele Calgaro (cherry picked from commit b1606f1200c833b5a0896d6bfe08db8db8c6d81e) --- src/importipsecprofiledialog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/importipsecprofiledialog.cpp') diff --git a/src/importipsecprofiledialog.cpp b/src/importipsecprofiledialog.cpp index de64f36..6ae4d0b 100644 --- a/src/importipsecprofiledialog.cpp +++ b/src/importipsecprofiledialog.cpp @@ -130,7 +130,7 @@ void ImportIpsecProfileDialog::canAccept() { TQPtrList *ImportedAccountList = new TQPtrList(); - ImportedAccountList->setAutoDelete ( TRUE ); // the list owns the objects + ImportedAccountList->setAutoDelete ( true ); // the list owns the objects TQPtrList *IpsecImportSectionList = new TQPtrList(); bool isIpsecGlobalSection=false; @@ -718,7 +718,7 @@ void ImportIpsecProfileDialog::canAccept() validLineFound=true; TQString Authby=line2.simplifyWhiteSpace().section ( "authby=",1,1 ); // std::cout << "left and right use certs " << std::endl; - if ( Authby.find ( "rsasig", 0 , FALSE ) > -1 ) + if ( Authby.find ( "rsasig", 0 , false ) > -1 ) { if ( GlobalConfig->KvpncDebugLevel > 2 ) GlobalConfig->appendLogEntry ( i18n ( "import ipsec config: left and right use certs." ) ,GlobalConfig->debug ); @@ -727,7 +727,7 @@ void ImportIpsecProfileDialog::canAccept() //profiledata->setPskIsInFile ( true ); //profiledata->setPrivateKeyFile ( "/etc/ipsec.secrets" ); } - else if ( Authby.find ( "secret", 0 , FALSE ) > -1 ) + else if ( Authby.find ( "secret", 0 , false ) > -1 ) { if ( GlobalConfig->KvpncDebugLevel > 2 ) GlobalConfig->appendLogEntry ( i18n ( "import ipsec config: left and right use psk." ) ,GlobalConfig->debug ); -- cgit v1.2.3