downgradle qt to 5.15.2

This commit is contained in:
王劲鹏
2021-04-26 21:21:59 +08:00
committed by osborn
parent f012d835dd
commit 0a7b66aeb3
11 changed files with 23 additions and 19 deletions

View File

@@ -48,7 +48,7 @@ void DoricGroupNode::configChildNode() {
oldNode->blend(model["props"]);
} else {
// Replace this view
mChildNodes.remove(idx);
mChildNodes.removeAt(idx);
oldNode->getNodeView()->setParent(nullptr);
oldNode->getNodeView()->setParentItem(nullptr);
oldNode->getNodeView()->deleteLater();
@@ -132,7 +132,7 @@ void DoricGroupNode::configChildNode() {
int size = mChildNodes.size();
for (int idx = mChildViewIds.size(); idx < size; idx++) {
DoricViewNode *viewNode = mChildNodes.at(mChildViewIds.size());
mChildNodes.remove(mChildViewIds.size());
mChildNodes.removeAt(mChildViewIds.size());
viewNode->getNodeView()->setParent(nullptr);
viewNode->getNodeView()->setParentItem(nullptr);
viewNode->getNodeView()->deleteLater();

View File

@@ -153,7 +153,7 @@ void DoricViewNode::requestLayout() {}
void DoricViewNode::callJSResponse(QString funcId, QVariantList args) {
QVariantList nArgs;
QList<QString> idList = getIdList();
nArgs.append(idList);
nArgs.append(QVariant(idList));
nArgs.append(funcId);
foreach (const QVariant &arg, args)
nArgs.append(arg);