From eb485c26d4f74441adda6222304f85b40a5131b4 Mon Sep 17 00:00:00 2001 From: nils Date: Mon, 5 Mar 2012 21:42:14 +0000 Subject: fix sign and verify bug with utf8, which was already fixed in 0.3.1.1 git-svn-id: http://cpunk.de/svn/src/gpg4usb/branches/0.3.2@833 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- verifynotification.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'verifynotification.cpp') diff --git a/verifynotification.cpp b/verifynotification.cpp index 284d511..ce5979c 100644 --- a/verifynotification.cpp +++ b/verifynotification.cpp @@ -94,7 +94,7 @@ bool VerifyNotification::refresh() { verify_label_status verifyStatus=VERIFY_ERROR_OK; - QByteArray text = mTextpage->toPlainText().toAscii(); // TODO: toUtf8() here? + QByteArray text = mTextpage->toPlainText().toUtf8(); mCtx->preventNoDataErr(&text); int textIsSigned = mCtx->textIsSigned(text); -- cgit v1.2.3 From 82cd614af8ab257f257fdfda63a5648935a88fba Mon Sep 17 00:00:00 2001 From: nils Date: Mon, 5 Mar 2012 21:42:46 +0000 Subject: removed some qdebugs git-svn-id: http://cpunk.de/svn/src/gpg4usb/branches/0.3.2@842 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- verifynotification.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'verifynotification.cpp') diff --git a/verifynotification.cpp b/verifynotification.cpp index ce5979c..d3bef1e 100644 --- a/verifynotification.cpp +++ b/verifynotification.cpp @@ -108,9 +108,6 @@ bool VerifyNotification::refresh() bool unknownKeyFound=false; while (sign) { - qDebug() << "sign->summary: " << sign-> summary; - qDebug() << "sign->status: " << sign->status; - qDebug() << "sign->validity: " << sign->validity; switch (gpg_err_code(sign->status)) { -- cgit v1.2.3 From 9396542f1225d07a3199c4b3576c53227910800e Mon Sep 17 00:00:00 2001 From: nils Date: Tue, 6 Mar 2012 20:13:58 +0000 Subject: updated translationf files and finished russian translation git-svn-id: http://cpunk.de/svn/src/gpg4usb/branches/0.3.2@848 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- verifynotification.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'verifynotification.cpp') diff --git a/verifynotification.cpp b/verifynotification.cpp index d3bef1e..3e056b9 100644 --- a/verifynotification.cpp +++ b/verifynotification.cpp @@ -44,7 +44,7 @@ VerifyNotification::VerifyNotification(QWidget *parent, GpgME::GpgContext *ctx, importFromKeyserverAct->setVisible(false); keysNotInList = new QStringList(); - detailsButton = new QPushButton("Details",this); + detailsButton = new QPushButton(tr("Details"),this); detailsButton->setMenu(detailMenu); QHBoxLayout *notificationWidgetLayout = new QHBoxLayout(this); notificationWidgetLayout->setContentsMargins(10,0,0,0); -- cgit v1.2.3