summaryrefslogtreecommitdiffstats
path: root/src/ciscocertificateenrollment.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-12-16 05:16:48 +0100
committerSlávek Banko <slavek.banko@axis.cz>2018-12-16 05:16:48 +0100
commite543ebc9363bb746a042577f314240af305e07b5 (patch)
tree2589d87e7be1f45e05fc7c87d65292701dedf0f6 /src/ciscocertificateenrollment.cpp
parent9bd6d8c4329b3e35b9daabd76c3d481d9fbcba93 (diff)
downloadkvpnc-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/ciscocertificateenrollment.cpp')
-rw-r--r--src/ciscocertificateenrollment.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ciscocertificateenrollment.cpp b/src/ciscocertificateenrollment.cpp
index e3884e7..c6ad5b3 100644
--- a/src/ciscocertificateenrollment.cpp
+++ b/src/ciscocertificateenrollment.cpp
@@ -121,8 +121,9 @@ void CiscoCertificateEnrollment::setupPages()
for ( TQStringList::Iterator it = CiscoCaCerts.begin(); it != CiscoCaCerts.end(); ++it )
{
- if ( GlobalConfig->KvpncDebugLevel > 2 )
- std::cout << "insert item (cisco ca certs): " << TQString ( *it ) << std::endl;
+ if ( GlobalConfig->KvpncDebugLevel > 2 ) {
+ std::cout << "insert item (cisco ca certs): " << TQString ( *it ).local8Bit() << std::endl;
+ }
selectionpage->CAComboBox->insertItem ( *it );
}