qwindowswindow: fix return nullptr
fix return nullptr rather than 0 Change-Id: Ic8e04e5b8bc732a7ffba5a708caee4326abf7168 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
This commit is contained in:
parent
05870db7d0
commit
a2ab67c8b2
@ -3027,7 +3027,7 @@ void *QWindowsWindow::surface(void *nativeConfig, int *err)
|
|||||||
#elif defined(QT_NO_OPENGL)
|
#elif defined(QT_NO_OPENGL)
|
||||||
Q_UNUSED(err);
|
Q_UNUSED(err);
|
||||||
Q_UNUSED(nativeConfig);
|
Q_UNUSED(nativeConfig);
|
||||||
return 0;
|
return nullptr;
|
||||||
#endif
|
#endif
|
||||||
#ifndef QT_NO_OPENGL
|
#ifndef QT_NO_OPENGL
|
||||||
if (!m_surface) {
|
if (!m_surface) {
|
||||||
|
Loading…
Reference in New Issue
Block a user