summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJing Bai <jing.bai@digia.com>2013-01-18 14:23:52 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-18 16:15:36 +0100
commit5607259cccfa89111165c852238c808e371d5f33 (patch)
tree48c4fbbb8ed32e67afedefaa3bd79aceafffa443 /examples
parent618fe66d5bc9a3165bdb4f30ce85cbf2305b6540 (diff)
fix a typo in cube example
Change-Id: I1ad01aa519007d203669ccc63ef7d769b7e740b5 Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/opengl/cube/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/opengl/cube/main.cpp b/examples/opengl/cube/main.cpp
index fdae1caa16..4f70f4a92e 100644
--- a/examples/opengl/cube/main.cpp
+++ b/examples/opengl/cube/main.cpp
@@ -50,7 +50,7 @@ int main(int argc, char *argv[])
QApplication app(argc, argv);
app.setApplicationName("cube");
app.setApplicationVersion("0.1");
-#ifdef QT_NO_OPENGL
+#ifndef QT_NO_OPENGL
MainWidget widget;
widget.show();
#else