aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/PySide6/glue/qtwebkitwidgets.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-03-03 17:19:05 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-03-10 08:46:45 +0100
commit7cd7141e43e98d4862de3aadf128b0d0080090c9 (patch)
treeb41c2b2b4fead36b3393dfa5edddad0b41a2019d /sources/pyside6/PySide6/glue/qtwebkitwidgets.cpp
parent4972d8cf6ea55884e501c452f32f558ad24240ae (diff)
Fix broken return type conversions of QOpenGLExtraFunctions::glGetStringi()
The function returns const unsigned char*, which was converted using the wrong snippet (QString conversion of parameter 1). Add a new snippet using the char *conversion of the return value at the end. Fixes warning: PySide6/QtGui/PySide6/QtGui/qopenglextrafunctions_wrapper.cpp:4630:35: warning: unused variable cppResunused-variable] const unsigned char * cppResult = cppSelf->glGetStringi(cppArg0, cppArg1); Pick-to: 6.0 5.15 Change-Id: Iae3f0abd4a34fb3b6a41534508fb5d64a3eae224 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside6/PySide6/glue/qtwebkitwidgets.cpp')
0 files changed, 0 insertions, 0 deletions