diff options
author | Slávek Banko <[email protected]> | 2018-12-16 05:16:48 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2018-12-16 11:28:29 +0100 |
commit | 6284823847949bb94a9974bc49befb14d9513b47 (patch) | |
tree | c0edff6a7f82c84531fdf8ed1b89fe3eab336e56 /src/manageciscocert.cpp | |
parent | edd94929b6f5cec0621460553c6d5c704cc13691 (diff) | |
download | kvpnc-6284823847949bb94a9974bc49befb14d9513b47.tar.gz kvpnc-6284823847949bb94a9974bc49befb14d9513b47.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 <[email protected]>
(cherry picked from commit e543ebc9363bb746a042577f314240af305e07b5)
Diffstat (limited to 'src/manageciscocert.cpp')
-rw-r--r-- | src/manageciscocert.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/manageciscocert.cpp b/src/manageciscocert.cpp index 242d137..95557ac 100644 --- a/src/manageciscocert.cpp +++ b/src/manageciscocert.cpp @@ -230,7 +230,7 @@ void ManageCiscoCert::showProcessFinished() delete ShowProcess; ShowProcess=0L; - std::cout << "certdatalist" << CertDataList.join (" ") << std::endl; + std::cout << "certdatalist" << CertDataList.join (" ").local8Bit() << std::endl; DisplayCertDialog dlg(0,i18n("Certificate data"),GlobalConfig); dlg.main->CertNameTextLabel->setText(CertDataName); dlg.main->CertTypeTextLabel->setText(CertType); @@ -272,14 +272,14 @@ void ManageCiscoCert::checkList() for ( TQStringList::Iterator it = CiscoCerts.begin(); it != CiscoCerts.end(); ++it ) { if (GlobalConfig->KvpncDebugLevel > 2) - std::cout << "insert item (cisco certs): " << TQString(*it) << std::endl; + std::cout << "insert item (cisco certs): " << TQString(*it).local8Bit() << std::endl; main->CertListView->insertItem( new TQListViewItem(main->CertListView, TQString().setNum(current_user_idx),TQString(*it),i18n("User"))); current_user_idx++; } for ( TQStringList::Iterator it = CiscoCaCerts.begin(); it != CiscoCaCerts.end(); ++it ) { if (GlobalConfig->KvpncDebugLevel > 2) - std::cout << "insert item (cisco certs): " << TQString(*it) << std::endl; + std::cout << "insert item (cisco certs): " << TQString(*it).local8Bit() << std::endl; main->CertListView->insertItem( new TQListViewItem(main->CertListView, TQString().setNum(current_ca_idx),TQString(*it),i18n("CA"))); current_ca_idx++; } |