summaryrefslogtreecommitdiffstats
path: root/src/importipsecprofiledialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/importipsecprofiledialog.cpp')
-rw-r--r--src/importipsecprofiledialog.cpp6
1 files changed, 3 insertions, 3 deletions
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<VpnAccountData> *ImportedAccountList = new TQPtrList<VpnAccountData>();
- ImportedAccountList->setAutoDelete ( TRUE ); // the list owns the objects
+ ImportedAccountList->setAutoDelete ( true ); // the list owns the objects
TQPtrList<IpsecImportSection> *IpsecImportSectionList = new TQPtrList<IpsecImportSection>();
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 );