Fix compilation against latest qt-dui
d914555badc in qt-dui/master removed QmlType::fromObject. This patch replaces the method with QVariant::fromValue. The difference here is that the QVariant type is always QObject*, instead of the real inherited type. We have yet to verify if this breaks something.
Showing
- src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp 3 additions, 3 deletions.../qmldesigner/components/propertyeditor/propertyeditor.cpp
- src/plugins/qmldesigner/components/propertyeditor/propertyeditorvalue.cpp 1 addition, 1 deletion...esigner/components/propertyeditor/propertyeditorvalue.cpp
- src/plugins/qmldesigner/core/instances/objectnodeinstance.cpp 1 addition, 4 deletions...plugins/qmldesigner/core/instances/objectnodeinstance.cpp
Loading
Please register or sign in to comment