diff options
Diffstat (limited to 'examples/wayland/minimal-cpp/main.cpp')
-rw-r--r-- | examples/wayland/minimal-cpp/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/wayland/minimal-cpp/main.cpp b/examples/wayland/minimal-cpp/main.cpp index f2b00e889..0b0b4b9d8 100644 --- a/examples/wayland/minimal-cpp/main.cpp +++ b/examples/wayland/minimal-cpp/main.cpp @@ -57,10 +57,9 @@ int main(int argc, char *argv[]) QGuiApplication app(argc, argv); Window window; + window.resize(800,600); Compositor compositor(&window); - window.setCompositor(&compositor); compositor.create(); - window.resize(800,600); window.show(); return app.exec(); |