forked from qt-creator/qt-creator
QmlDesigner: using Qt 4.7 again
We need to support the N900 Reviewed-by: Kai Koehne
This commit is contained in:
@@ -109,7 +109,7 @@ void ComponentView::searchForComponentAndAddToList(const ModelNode &node)
|
||||
|
||||
|
||||
foreach (const ModelNode &childNode, nodeList) {
|
||||
if (childNode.type() == "QtQuick/Component") {
|
||||
if (childNode.type() == "Qt/Component") {
|
||||
if (!childNode.id().isEmpty()) {
|
||||
QStandardItem *item = new QStandardItem(childNode.id());
|
||||
item->setData(QVariant::fromValue(childNode), ModelNodeRole);
|
||||
|
||||
Reference in New Issue
Block a user