diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-05-02 10:38:33 +0200 |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-05-02 10:38:33 +0200 |
commit | 3086f2098e94754b6bf5359ade8224b351979579 (patch) | |
tree | 0a655980130f56059874e2f8ff226e3cbea53761 /examples | |
parent | 5daea69f74c948803eda099ef772eb164cc57a78 (diff) |
Set the window title even if it was set before calling create().
Diffstat (limited to 'examples')
-rw-r--r-- | examples/opengl/hellowindow/hellowindow.cpp | 1 |
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); |