error log filter
This commit is contained in:
parent
dc438b135a
commit
4c0a177747
@ -6,7 +6,9 @@ QQuickItem *DoricStackNode::build() {
|
||||
const QUrl url(QStringLiteral("qrc:/doric/qml/stack.qml"));
|
||||
component.loadUrl(url);
|
||||
|
||||
if (component.isError()) {
|
||||
qCritical() << component.errorString();
|
||||
}
|
||||
|
||||
QQuickItem *item = qobject_cast<QQuickItem *>(component.create());
|
||||
return item;
|
||||
|
@ -6,7 +6,9 @@ QQuickItem *DoricVLayoutNode::build() {
|
||||
const QUrl url(QStringLiteral("qrc:/doric/qml/vlayout.qml"));
|
||||
component.loadUrl(url);
|
||||
|
||||
if (component.isError()) {
|
||||
qCritical() << component.errorString();
|
||||
}
|
||||
|
||||
QQuickItem *item = qobject_cast<QQuickItem *>(component.create());
|
||||
return item;
|
||||
|
Reference in New Issue
Block a user