[pim/kdepim-addons] kaddressbook/plugins/sendvcards: It's a binary data

Laurent Montel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit b283816e45f84f5b14f732439a7fda72b87fa241 by Laurent Montel.
Committed on 16/08/2026 at 07:11.
Pushed by mlaurent into branch 'master'.

It's a binary data

M  +1    -1    kaddressbook/plugins/sendvcards/sendvcardsjob.cpp

https://invent.kde.org/pim/kdepim-addons/-/commit/b283816e45f84f5b14f732439a7fda72b87fa241

diff --git a/kaddressbook/plugins/sendvcards/sendvcardsjob.cpp b/kaddressbook/plugins/sendvcards/sendvcardsjob.cpp
index c9c3c7e84..2f81bc375 100644
--- a/kaddressbook/plugins/sendvcards/sendvcardsjob.cpp
+++ b/kaddressbook/plugins/sendvcards/sendvcardsjob.cpp
@@ -151,7 +151,7 @@ void SendVcardsJob::slotExpandGroupResult(KJob *job)
 void SendVcardsJob::createTemporaryFile(const QByteArray &data, const QString &filename)
 {
     QFile file(mTempDir->path() + QLatin1Char('/') + filename);
-    if (!file.open(QIODevice::WriteOnly | QIODevice::Text)) {
+    if (!file.open(QIODevice::WriteOnly)) {
         qCDebug(KADDRESSBOOK_SENDVCARDS_LOG) << "Cannot write vcard filename :" << filename;
         Q_EMIT sendVCardsError(i18n("Temporary file \'%1\' cannot be created", filename));
         return;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.