diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-08-14 06:29:13 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-08-14 06:29:13 (GMT) |
commit | 0c831b8cf84c72ee8673d1d38f4e93e350dddd5f (patch) | |
tree | 84fc3c89d73342ec70d77b2bdf99066f987536b8 /examples/opengl/samplebuffers/glwidget.cpp | |
parent | b98b7d305ffebb700e471bd64a7dee59d947e056 (diff) | |
parent | 4b1b93f3f97de70af316052bc38048f52631b9e4 (diff) | |
download | Qt-0c831b8cf84c72ee8673d1d38f4e93e350dddd5f.zip Qt-0c831b8cf84c72ee8673d1d38f4e93e350dddd5f.tar.gz Qt-0c831b8cf84c72ee8673d1d38f4e93e350dddd5f.tar.bz2 |
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt
Diffstat (limited to 'examples/opengl/samplebuffers/glwidget.cpp')
-rw-r--r-- | examples/opengl/samplebuffers/glwidget.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/opengl/samplebuffers/glwidget.cpp b/examples/opengl/samplebuffers/glwidget.cpp index 725dae9..9a41f51 100644 --- a/examples/opengl/samplebuffers/glwidget.cpp +++ b/examples/opengl/samplebuffers/glwidget.cpp @@ -34,7 +34,7 @@ ** met: http://www.gnu.org/copyleft/gpl.html. ** ** If you are unsure which license is appropriate for your use, please -** contact the sales department at http://www.qtsoftware.com/contact. +** contact the sales department at http://qt.nokia.com/contact. ** $QT_END_LICENSE$ ** ****************************************************************************/ @@ -106,7 +106,7 @@ void GLWidget::timerEvent(QTimerEvent *) void GLWidget::makeObject() { - QColor trolltechGreen(QColor::fromCmykF(0.40, 0.0, 1.0, 0.0)); + QColor qtGreen(QColor::fromCmykF(0.40, 0.0, 1.0, 0.0)); const double Pi = 3.14159265358979323846; const int NumSectors = 15; GLdouble x1 = +0.06; @@ -134,13 +134,13 @@ void GLWidget::makeObject() GLdouble x8 = 0.30 * sin(angle2); GLdouble y8 = 0.30 * cos(angle2); - qglColor(trolltechGreen); + qglColor(qtGreen); quad(GL_QUADS, x5, y5, x6, y6, x7, y7, x8, y8); qglColor(Qt::black); quad(GL_LINE_LOOP, x5, y5, x6, y6, x7, y7, x8, y8); } - qglColor(trolltechGreen); + qglColor(qtGreen); quad(GL_QUADS, x1, y1, x2, y2, y2, x2, y1, x1); quad(GL_QUADS, x3, y3, x4, y4, y4, x4, y3, x3); |