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) {
|
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);
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user