diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2020-07-31 12:24:42 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2020-08-03 09:41:33 +0200 |
commit | 3f2251994d7a22978a7c64ce7719471e6f36cc3a (patch) | |
tree | 4263bdc7df93a0f07a3f50052d8aac762e04cc08 /src/gui/kernel/qopenglcontext.cpp | |
parent | f0c5802a5c6dae0bc513eeeac520a6ccb0a906e4 (diff) |
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>
Diffstat (limited to 'src/gui/kernel/qopenglcontext.cpp')
-rw-r--r-- | src/gui/kernel/qopenglcontext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qopenglcontext.cpp b/src/gui/kernel/qopenglcontext.cpp index 82da0f8146..cbd2dc2d06 100644 --- a/src/gui/kernel/qopenglcontext.cpp +++ b/src/gui/kernel/qopenglcontext.cpp @@ -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. |