summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt-qrcode/qt-qrcode/0002-fix-dangling-pointer.patch
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2021-11-03 15:18:49 +0100
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2021-11-03 22:43:56 +0100
commit1b72a0f90fa7d1b45eb1017629cc83dcd8971c48 (patch)
treedecc406f376b968d90fade3c321777e068a8c00e /recipes-qt/qt-qrcode/qt-qrcode/0002-fix-dangling-pointer.patch
parent94a051785cdb588bc3a475a5490f1f286176d646 (diff)
Prepare master for new framework integration
During the last workshop the transition to the new framework was presented. This change essentially deprecates the SMACK-based application framework. To prepare the integration of it, we remove the deprecated components: - recipes-apis : all agl-service-* - recipes-demos: all demo apps but homescreen - non-essential configurations Todo: We need to bring-back the html5 image in a follow-up w/o ties into the old framework. v2: kept WAM + Chromium recipes for reference v3: rebased Bug-AGL: SPEC-4121 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I58075f5f1e477106a1aad3d2171a0904bf0cb16e
Diffstat (limited to 'recipes-qt/qt-qrcode/qt-qrcode/0002-fix-dangling-pointer.patch')
-rw-r--r--recipes-qt/qt-qrcode/qt-qrcode/0002-fix-dangling-pointer.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/recipes-qt/qt-qrcode/qt-qrcode/0002-fix-dangling-pointer.patch b/recipes-qt/qt-qrcode/qt-qrcode/0002-fix-dangling-pointer.patch
deleted file mode 100644
index 489a49ed..00000000
--- a/recipes-qt/qt-qrcode/qt-qrcode/0002-fix-dangling-pointer.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 5fc5a92e3568674a08a6e7594d050e963d0d854b Mon Sep 17 00:00:00 2001
-From: Raquel Medina <raquel.medina@konsulko.com>
-Date: Mon, 18 May 2020 19:18:00 +0200
-Subject: [PATCH] fix dangling pointer
-
-Bug-AGL: SPEC-3664
-Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
----
- lib/qtqrcode.cpp | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-diff --git a/lib/qtqrcode.cpp b/lib/qtqrcode.cpp
-index a7000f0..825c354 100644
---- a/lib/qtqrcode.cpp
-+++ b/lib/qtqrcode.cpp
-@@ -116,8 +116,7 @@ void QtQrCode::setBaseQrCodeData(QRcode *qrCode)
- {
- d->width = qrCode->width;
- d->data.clear();
-- // TODO: Beware it here
-- d->data = (const char *) qrCode->data;
-+ d->data = QByteArray(reinterpret_cast<const char *>(qrCode->data), d->width*d->width);
- QRcode_free(qrCode);
- }
-