Fix QQuickCanvas renames.
This is required because of name changes to QtDeclarative in the commit feb996e3ab44e68082c97102556ea396f5df3f44. Change-Id: Ia40b1ea1cf3b3cb5225b7678077b627b74c47132 Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
0e550eaae9
commit
b95f608612
@@ -77,8 +77,8 @@ void QDeclarativeVideoWindowBackend::itemChange(QQuickItem::ItemChange change,
|
||||
const QQuickItem::ItemChangeData &changeData)
|
||||
{
|
||||
if (change == QQuickItem::ItemSceneChange && m_videoWindowControl) {
|
||||
if (changeData.canvas)
|
||||
m_videoWindowControl->setWinId(changeData.canvas->winId());
|
||||
if (changeData.window)
|
||||
m_videoWindowControl->setWinId(changeData.window->winId());
|
||||
else
|
||||
m_videoWindowControl->setWinId(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user