summaryrefslogtreecommitdiffstats
path: root/src/displaycertdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/displaycertdialog.cpp')
-rw-r--r--src/displaycertdialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/displaycertdialog.cpp b/src/displaycertdialog.cpp
index 57e06c5..d1eefd8 100644
--- a/src/displaycertdialog.cpp
+++ b/src/displaycertdialog.cpp
@@ -23,8 +23,8 @@
#include <tqstringlist.h>
#include <iostream>
-DisplayCertDialog::DisplayCertDialog(TQWidget *parent, const char* caption, KVpncConfig *GlobalConfig)
- : KDialogBase ( parent, i18n ( "Certificate data" ).ascii(), true, caption,
+DisplayCertDialog::DisplayCertDialog(TQWidget *parent, const TQString& caption, KVpncConfig *GlobalConfig)
+ : KDialogBase ( parent, i18n ( "Certificate data" ).utf8(), true, caption,
KDialogBase::Ok|KDialogBase::Cancel, KDialogBase::Ok, true )
{
main = new DisplayCertDialogBase ( this );
@@ -41,7 +41,7 @@ DisplayCertDialog::~DisplayCertDialog()
void DisplayCertDialog::parseCertData()
{
- std::cout << "certdatalist" << CertDataList.join (" ") << std::endl;
+ std::cout << "certdatalist" << CertDataList.join (" ").local8Bit() << std::endl;
for ( TQStringList::Iterator it = CertDataList.begin(); it != CertDataList.end(); ++it ) {
if (GlobalConfig->KvpncDebugLevel > 2)
GlobalConfig->appendLogEntry("[cert data]: "+*it,GlobalConfig->debug);