diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2018-12-16 05:16:48 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2018-12-16 05:16:48 +0100 |
commit | e543ebc9363bb746a042577f314240af305e07b5 (patch) | |
tree | 2589d87e7be1f45e05fc7c87d65292701dedf0f6 /src/preferencesdialog.cpp | |
parent | 9bd6d8c4329b3e35b9daabd76c3d481d9fbcba93 (diff) | |
download | kvpnc-e543ebc9363bb746a042577f314240af305e07b5.tar.gz kvpnc-e543ebc9363bb746a042577f314240af305e07b5.zip |
Added controlled conversions to char* instead of automatic ascii conversions.
The definition of -UTQT_NO_ASCII_CAST is no longer needed.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src/preferencesdialog.cpp')
-rw-r--r-- | src/preferencesdialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/preferencesdialog.cpp b/src/preferencesdialog.cpp index 137557d..8c2f514 100644 --- a/src/preferencesdialog.cpp +++ b/src/preferencesdialog.cpp @@ -3205,7 +3205,7 @@ void PreferencesDialog::profileChanged( const TQString& itemtext ) for ( TQStringList::Iterator ikeit = IkeList.begin(); ikeit != IkeList.end(); ++ikeit ) { - std::cout << "ike: " << *ikeit << ":" << std::endl; + std::cout << "ike: " << (*ikeit).local8Bit() << ":" << std::endl; if (*ikeit == "aes256-sha1") ProfileIpsecOptionsWidget->IkeAes256Sha1CheckBox->setChecked(true); @@ -3229,7 +3229,7 @@ void PreferencesDialog::profileChanged( const TQString& itemtext ) for ( TQStringList::Iterator espit = EspList.begin(); espit != EspList.end(); ++espit ) { - std::cout << "esp: " << *espit << ":" << std::endl; + std::cout << "esp: " << (*espit).local8Bit() << ":" << std::endl; if (*espit == "3des-md5") ProfileIpsecOptionsWidget->Esp3desMd5CheckBox->setChecked(true); @@ -4923,10 +4923,10 @@ void PreferencesDialog::saveSessionClicked() profile->setIpsecIke(IkeList.join(",")); for ( TQStringList::Iterator ikeit = IkeList.begin(); ikeit != IkeList.end(); ++ikeit ) - std::cout << "ike: " << *ikeit << ":" << std::endl; + std::cout << "ike: " << (*ikeit).local8Bit() << ":" << std::endl; for ( TQStringList::Iterator espit = EspList.begin(); espit != EspList.end(); ++espit ) - std::cout << "esp: " << *espit << ":" << std::endl; + std::cout << "esp: " << (*espit).local8Bit() << ":" << std::endl; if(ProfileIpsecOptionsWidget->UseCustomEspCheckBox->isChecked() && !EspList.isEmpty()) profile->setUseCustomEsp(true); |