aboutsummaryrefslogtreecommitdiffstats
path: root/keydetailsdialog.cpp
diff options
context:
space:
mode:
authorubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-03-31 16:57:01 +0000
committerubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-03-31 16:57:01 +0000
commita71a1b189f00eda87aaf3d4c19936e377b5061dd (patch)
tree0fd160677134b3f256f4d6b1f36c5bca7d0de5af /keydetailsdialog.cpp
parentchange name and comment lineedits in key generation to utf8, so that encoding... (diff)
downloadgpg4usb-a71a1b189f00eda87aaf3d4c19936e377b5061dd.tar.gz
gpg4usb-a71a1b189f00eda87aaf3d4c19936e377b5061dd.zip
fix some issues with utf8 strings in keys
git-svn-id: http://cpunk.de/svn/src/gpg4usb/branches/0.3.2@871 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'keydetailsdialog.cpp')
-rw-r--r--keydetailsdialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/keydetailsdialog.cpp b/keydetailsdialog.cpp
index aeaa69c..dd0723f 100644
--- a/keydetailsdialog.cpp
+++ b/keydetailsdialog.cpp
@@ -34,12 +34,12 @@ KeyDetailsDialog::KeyDetailsDialog(GpgME::GpgContext* ctx, gpgme_key_t key, QWid
buttonBox = new QDialogButtonBox(QDialogButtonBox::Close);
connect(buttonBox, SIGNAL(rejected()), this, SLOT(close()));
- nameVarLabel = new QLabel(key->uids->name);
+ nameVarLabel = new QLabel(QString::fromUtf8(key->uids->name));
nameVarLabel->setTextInteractionFlags(Qt::TextSelectableByMouse);
- emailVarLabel = new QLabel(key->uids->email);
+ emailVarLabel = new QLabel(QString::fromUtf8(key->uids->email));
emailVarLabel->setTextInteractionFlags(Qt::TextSelectableByMouse);
- commentVarLabel = new QLabel(key->uids->comment);
+ commentVarLabel = new QLabel(QString::fromUtf8(key->uids->comment));
commentVarLabel->setTextInteractionFlags(Qt::TextSelectableByMouse);
keyidVarLabel = new QLabel(key->subkeys->keyid);
keyidVarLabel->setTextInteractionFlags(Qt::TextSelectableByMouse);