From 3086f2098e94754b6bf5359ade8224b351979579 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Mon, 2 May 2011 10:38:33 +0200 Subject: Set the window title even if it was set before calling create(). --- examples/opengl/hellowindow/hellowindow.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'examples') 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); -- cgit v1.2.3