remove redundant qcritical

This commit is contained in:
王劲鹏 2021-02-24 14:11:47 +08:00 committed by osborn
parent 0f0b0b0756
commit 850d6321a0
2 changed files with 0 additions and 3 deletions

View File

@ -19,7 +19,6 @@ void DoricSuperNode::blend(QQuickItem *view, QString name, QJSValue prop) {
void DoricSuperNode::mixinSubNode(QJSValue subNode) { void DoricSuperNode::mixinSubNode(QJSValue subNode) {
QString id = subNode.property("id").toString(); QString id = subNode.property("id").toString();
qCritical() << id;
QList<QString> keys = subNodes.keys(); QList<QString> keys = subNodes.keys();
if (!keys.contains(id)) { if (!keys.contains(id)) {
subNodes.insert(id, subNode); subNodes.insert(id, subNode);

View File

@ -46,8 +46,6 @@ void DoricViewNode::blend(QQuickItem *view, QString name, QJSValue prop) {
view->setHeight(prop.toInt()); view->setHeight(prop.toInt());
} else if (name == "backgroundColor") { } else if (name == "backgroundColor") {
QString color = DoricUtils::doricColor(prop.toNumber()).name(); QString color = DoricUtils::doricColor(prop.toNumber()).name();
qCritical() << prop.toInt();
qCritical() << color;
view->setProperty("color", color); view->setProperty("color", color);
} }
} }