Hello community,

here is the log from the commit of package kleopatra5 for openSUSE:Factory 
checked in at 2016-07-21 07:43:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kleopatra5 (Old)
 and      /work/SRC/openSUSE:Factory/.kleopatra5.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kleopatra5"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kleopatra5/kleopatra5.changes    2016-06-20 
10:56:48.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.kleopatra5.new/kleopatra5.changes       
2016-07-21 07:43:24.000000000 +0200
@@ -1,0 +2,8 @@
+Thu Jul  7 23:27:02 UTC 2016 - [email protected]
+
+- Update to KDE Applications 16.04.3
+   * KDE Applications 16.04.3
+   * https://www.kde.org/announcements/announce-applications-16.04.3.php
+
+
+-------------------------------------------------------------------

Old:
----
  kleopatra-16.04.2.tar.xz

New:
----
  kleopatra-16.04.3.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kleopatra5.spec ++++++
--- /var/tmp/diff_new_pack.CjjvJe/_old  2016-07-21 07:43:24.000000000 +0200
+++ /var/tmp/diff_new_pack.CjjvJe/_new  2016-07-21 07:43:24.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           kleopatra5
-Version:        16.04.2
+Version:        16.04.3
 Release:        0
 Summary:        KDE Key Manager
 License:        GPL-2.0

++++++ kleopatra-16.04.2.tar.xz -> kleopatra-16.04.3.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kleopatra-16.04.2/src/newcertificatewizard/newcertificatewizard.cpp 
new/kleopatra-16.04.3/src/newcertificatewizard/newcertificatewizard.cpp
--- old/kleopatra-16.04.2/src/newcertificatewizard/newcertificatewizard.cpp     
2016-06-06 14:15:38.000000000 +0200
+++ new/kleopatra-16.04.3/src/newcertificatewizard/newcertificatewizard.cpp     
2016-06-14 13:21:49.000000000 +0200
@@ -79,6 +79,7 @@
 #include <QFile>
 #include <QUrl>
 #include <QDesktopServices>
+#include <QUrlQuery>
 
 #include <boost/range.hpp>
 
@@ -298,11 +299,11 @@
 
     FIELD(int, keyType)
     FIELD(int, keyStrength)
-    FIELD(QString, keyCurve);
+    FIELD(QString, keyCurve)
 
     FIELD(int, subkeyType)
     FIELD(int, subkeyStrength)
-    FIELD(QString, subkeyCurve);
+    FIELD(QString, subkeyCurve)
 
     FIELD(QDate, expiryDate)
 
@@ -1040,16 +1041,19 @@
 
         // RFC 2368 says body's linebreaks need to be encoded as
         // "%0D%0A", so normalize body to CRLF:
-        body.replace(QLatin1Char('\n'), 
QStringLiteral("\r\n")).remove(QStringLiteral("\r\r"));
+        //body.replace(QLatin1Char('\n'), 
QStringLiteral("\r\n")).remove(QStringLiteral("\r\r"));
 
-        QByteArray encoded = "mailto:?to="; + QUrl::toPercentEncoding(to)
-                             + "&subject=" + QUrl::toPercentEncoding(subject)
-                             + "&body=" + QUrl::toPercentEncoding(body);
+        QUrlQuery query;
+        query.addQueryItem(QStringLiteral("subject"), subject);
+        query.addQueryItem(QStringLiteral("body"), body);
         if (!attachment.isEmpty()) {
-            encoded += "&attach=" + 
ol_quote(QUrl::toPercentEncoding(QFileInfo(attachment).absoluteFilePath()));
+            query.addQueryItem(QStringLiteral("attach"), attachment);
         }
-        qCDebug(KLEOPATRA_LOG) << "openUrl" << QUrl::fromEncoded(encoded);
-        QDesktopServices::openUrl(QUrl::fromEncoded(encoded));
+        QUrl url;
+        url.setScheme(QStringLiteral("mailto"));
+        url.setQuery(query);
+        qCDebug(KLEOPATRA_LOG) << "openUrl" << url;
+        QDesktopServices::openUrl(url);
         KMessageBox::information(this,
                                  xi18nc("@info",
                                         
"<para><application>Kleopatra</application> tried to send a mail via your 
default mail client.</para>"


Reply via email to