Propagate textureChildSeen properly
even if setParent() is not called afterwards. Change-Id: Ie54e227c7adda2710fbd46176e9a15252aef2985 Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
This commit is contained in:
parent
ebd8530cbc
commit
c4aabeb2b8
@ -628,7 +628,7 @@ public:
|
||||
#ifndef QT_NO_OPENGL
|
||||
virtual GLuint textureId() const { return 0; }
|
||||
|
||||
void setRenderToTexture() { renderToTexture = true; textureChildSeen = true; }
|
||||
void setRenderToTexture() { renderToTexture = true; setTextureChildSeen(); }
|
||||
void setTextureChildSeen()
|
||||
{
|
||||
Q_Q(QWidget);
|
||||
|
Loading…
Reference in New Issue
Block a user