From 850d6321a08aa3436d2d1df149edfc8f87a3ac1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=8A=B2=E9=B9=8F?= Date: Wed, 24 Feb 2021 14:11:47 +0800 Subject: [PATCH] remove redundant qcritical --- doric-Qt/doric/shader/DoricSuperNode.cpp | 1 - doric-Qt/doric/shader/DoricViewNode.cpp | 2 -- 2 files changed, 3 deletions(-) diff --git a/doric-Qt/doric/shader/DoricSuperNode.cpp b/doric-Qt/doric/shader/DoricSuperNode.cpp index 87c38681..fa298303 100644 --- a/doric-Qt/doric/shader/DoricSuperNode.cpp +++ b/doric-Qt/doric/shader/DoricSuperNode.cpp @@ -19,7 +19,6 @@ void DoricSuperNode::blend(QQuickItem *view, QString name, QJSValue prop) { void DoricSuperNode::mixinSubNode(QJSValue subNode) { QString id = subNode.property("id").toString(); - qCritical() << id; QList keys = subNodes.keys(); if (!keys.contains(id)) { subNodes.insert(id, subNode); diff --git a/doric-Qt/doric/shader/DoricViewNode.cpp b/doric-Qt/doric/shader/DoricViewNode.cpp index 9f732b2c..034fce91 100644 --- a/doric-Qt/doric/shader/DoricViewNode.cpp +++ b/doric-Qt/doric/shader/DoricViewNode.cpp @@ -46,8 +46,6 @@ void DoricViewNode::blend(QQuickItem *view, QString name, QJSValue prop) { view->setHeight(prop.toInt()); } else if (name == "backgroundColor") { QString color = DoricUtils::doricColor(prop.toNumber()).name(); - qCritical() << prop.toInt(); - qCritical() << color; view->setProperty("color", color); } }