diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-06-19 10:51:38 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-06-22 08:28:28 +0000 |
commit | f0fecf7b61433595ee53de7685f6a4c47bbed6e1 (patch) | |
tree | 209477b0f46f95ec1d5784cba2b94eca97c2d35b /src/widgets | |
parent | 52c35c1ce798e6ec3aef86d5081d211cabe5daaf (diff) |
Fix incorrect warning message in QOpenGLWidget
Change-Id: I3b99894171a3e63b75a14357a1be0c0dd1f45e93
Reviewed-by: Jørgen Lind <jorgen.lind@theqtcompany.com>
Diffstat (limited to 'src/widgets')
-rw-r--r-- | src/widgets/kernel/qopenglwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/kernel/qopenglwidget.cpp b/src/widgets/kernel/qopenglwidget.cpp index 9bfdc62e60..1ee28f2e9a 100644 --- a/src/widgets/kernel/qopenglwidget.cpp +++ b/src/widgets/kernel/qopenglwidget.cpp @@ -639,7 +639,7 @@ GLuint QOpenGLWidgetPrivate::textureId() const Q_Q(const QOpenGLWidget); if (!q->isWindow() && q->internalWinId()) { qWarning() << "QOpenGLWidget cannot be used as a native child widget." - << "Consider setting Qt::AA_DontCreateNativeWidgetAncestors and Siblings."; + << "Consider setting Qt::WA_DontCreateNativeAncestors and Qt::AA_DontCreateNativeWidgetSiblings."; return 0; } return resolvedFbo ? resolvedFbo->texture() : (fbo ? fbo->texture() : 0); |