From 1703179fb4229cc1a3a4ab3f9d32c442d484d8b2 Mon Sep 17 00:00:00 2001 From: Sarah Smith Date: Mon, 13 Feb 2012 11:39:38 +1000 Subject: [PATCH] Fix old quick3d strings. Now with the move to the new naming these strings should be QT3D. Also the capitalisation was wrong anyway. Change-Id: Ib491d68fc55e1d96708add96c8ce180628598f2f Reviewed-by: Danny Pope --- src/threed/viewing/qglview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/threed/viewing/qglview.cpp b/src/threed/viewing/qglview.cpp index 1e48dd847..a11d5ac8d 100644 --- a/src/threed/viewing/qglview.cpp +++ b/src/threed/viewing/qglview.cpp @@ -254,7 +254,7 @@ class QGLViewPrivate logTime.start(); lastFrameTime.start(); - QByteArray env = qgetenv("Quick3D_LOG_EVENTS"); + QByteArray env = qgetenv("QT3D_LOG_EVENTS"); if (env == "1") options |= QGLView::PaintingLog; } @@ -364,7 +364,7 @@ static QString qt_gl_stereo_arg() if (arg.startsWith(QLatin1String("-stereo-"))) return arg; } - QByteArray options(qgetenv("Quick3D_OPTIONS")); + QByteArray options(qgetenv("QT3D_OPTIONS")); args = QString::fromLocal8Bit (options.constData(), options.size()).split(QLatin1Char(' ')); foreach (QString arg, args) {