Commit 8d720bff authored by Friedemann Kleint's avatar Friedemann Kleint Committed by The Qt Project
Browse files

PaintedWindow example: Use standard window flags.


Change-Id: Ie7202efc88c176e2c39574677227c9f177c8e6d1
Reviewed-by: default avatarSamuel Rødal <samuel.rodal@digia.com>
parent 0bd82751
No related merge requests found
Showing with 1 addition and 1 deletion
...@@ -56,7 +56,7 @@ PaintedWindow::PaintedWindow() ...@@ -56,7 +56,7 @@ PaintedWindow::PaintedWindow()
format.setSamples(4); format.setSamples(4);
setSurfaceType(QWindow::OpenGLSurface); setSurfaceType(QWindow::OpenGLSurface);
setFlags(Qt::Window | Qt::WindowTitleHint | Qt::WindowMinMaxButtonsHint | Qt::WindowCloseButtonHint); setFlags(Qt::Window | Qt::WindowTitleHint | Qt::WindowSystemMenuHint | Qt::WindowMinMaxButtonsHint | Qt::WindowCloseButtonHint);
setFormat(format); setFormat(format);
create(); create();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment