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 with 5 additions and 8 deletions