summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/opengl/hellowindow/hellowindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/opengl/hellowindow/hellowindow.cpp b/examples/opengl/hellowindow/hellowindow.cpp
index b0576c1255..8076b5a4bb 100644
--- a/examples/opengl/hellowindow/hellowindow.cpp
+++ b/examples/opengl/hellowindow/hellowindow.cpp
@@ -10,6 +10,7 @@ HelloWindow::HelloWindow()
: colorIndex(0)
{
setSurfaceType(OpenGLSurface);
+ setWindowTitle(QLatin1String("Hello Window"));
QWindowFormat format;
format.setDepthBufferSize(16);