Fix doc signature in QOpenGLContext

Just T makes qdoc's clang parsing fail, it needs template<typename T>.

Also, the return type is T*, not T.

Change-Id: I210676aff3122b432888c3d79d9967e249ac88e1
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
Laszlo Agocs 2020-07-31 12:24:42 +02:00
parent f0c5802a5c
commit 3f2251994d

View File

@ -347,7 +347,7 @@ void QOpenGLContextPrivate::_q_screenDestroyed(QObject *object)
}
/*!
\fn T QOpenGLContext::platformInterface<T>()
\fn template<typename T> T *QOpenGLContext::platformInterface<T>()
Returns a platform interface of type T for the context.