Skip to content

Commit

Permalink
Fix old quick3d strings.
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Sarah Smith authored and Qt by Nokia committed Feb 13, 2012
1 parent 2c29c50 commit 1703179
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/threed/viewing/qglview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 1703179

Please sign in to comment.