summaryrefslogtreecommitdiffstats
path: root/src/core/services/qopenglinformationservice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/services/qopenglinformationservice.cpp')
-rw-r--r--src/core/services/qopenglinformationservice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/services/qopenglinformationservice.cpp b/src/core/services/qopenglinformationservice.cpp
index 0f62544c8..c1c05018e 100644
--- a/src/core/services/qopenglinformationservice.cpp
+++ b/src/core/services/qopenglinformationservice.cpp
@@ -62,7 +62,7 @@ namespace Qt3DCore {
instantiate a QOpenGLInformationService object.
*/
QOpenGLInformationService::QOpenGLInformationService(const QString &description)
- : QAbstractServiceProvider(QServiceLocator::OpenGLInformation, description)
+ : QAbstractServiceProvider(*new QOpenGLInformationServicePrivate(description))
{
}