forked from pool/kirigami2
This commit is contained in:
parent
9021200cc2
commit
922b43d1c7
@ -1,26 +0,0 @@
|
|||||||
From 4f92428600aa0bcee9a300884941803383f1da41 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Wolfgang Bauer <wbauer@tmo.at>
|
|
||||||
Date: Wed, 13 Jun 2018 12:11:25 +0200
|
|
||||||
Subject: [PATCH] Fix build with gcc 4.8
|
|
||||||
|
|
||||||
See https://bugreports.qt.io/browse/QTBUG-48988
|
|
||||||
---
|
|
||||||
src/delegaterecycler.cpp | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/src/delegaterecycler.cpp b/src/delegaterecycler.cpp
|
|
||||||
index f648fc7..b51b5dd 100644
|
|
||||||
--- a/src/delegaterecycler.cpp
|
|
||||||
+++ b/src/delegaterecycler.cpp
|
|
||||||
@@ -213,7 +213,7 @@ void DelegateRecycler::setSourceComponent(QQmlComponent *component)
|
|
||||||
if (!m_item) {
|
|
||||||
obj->deleteLater();
|
|
||||||
} else {
|
|
||||||
- connect(m_item, &QObject::destroyed, ctx, &QObject::deleteLater);
|
|
||||||
+ connect(m_item.data(), &QObject::destroyed, ctx, &QObject::deleteLater);
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
QQmlContext *ctx = QQmlEngine::contextForObject(m_item)->parentContext();
|
|
||||||
--
|
|
||||||
2.13.7
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user