Hide the video overlay when the QML element is hidden

An display invalid rect is used for invisible QML
items.

Change-Id: Ifb2a25f1c5387ab8cef1359ac6c3e2f90a42cd10
Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@gmail.com>
This commit is contained in:
Thomas McGuire
2012-09-05 13:25:03 +02:00
committed by Qt by Nokia
parent 06302999da
commit bce8b5486d
3 changed files with 18 additions and 3 deletions

View File

@@ -65,6 +65,7 @@ public:
private:
QPointer<QVideoWindowControl> m_videoWindowControl;
bool m_visible;
};
QT_END_NAMESPACE