summaryrefslogtreecommitdiffstats
path: root/examples/opengl/paintedwindow/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl/paintedwindow/main.cpp')
-rw-r--r--examples/opengl/paintedwindow/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/opengl/paintedwindow/main.cpp b/examples/opengl/paintedwindow/main.cpp
index d4eead9d40..c672798558 100644
--- a/examples/opengl/paintedwindow/main.cpp
+++ b/examples/opengl/paintedwindow/main.cpp
@@ -53,7 +53,7 @@ int main(int argc, char **argv)
QRect screenGeometry = screen->availableGeometry();
QPoint center = screenGeometry.center();
- QRect windowRect(0, 0, 640, 480);
+ QRect windowRect(0, 0, 480, 640);
PaintedWindow window;
window.setGeometry(QRect(center - windowRect.center(), windowRect.size()));
@@ -61,3 +61,4 @@ int main(int argc, char **argv)
app.exec();
}
+