downgradle qt to 5.15.2
This commit is contained in:
@@ -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();
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user