remove redundant qcritical
This commit is contained in:
parent
0f0b0b0756
commit
850d6321a0
@ -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<QString> keys = subNodes.keys();
|
||||
if (!keys.contains(id)) {
|
||||
subNodes.insert(id, subNode);
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user