From b200fbe213adf2859ddebefac0be60b04389a8a6 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Wed, 30 Jun 2021 11:29:53 +0200 Subject: Do not call QGuiApplication::exec() on an instance It's a static method. It should be called statically. Change-Id: I15fc8948988b0a2c0a30f8699949e06c66d92fdf Reviewed-by: Fabian Kosmale Reviewed-by: Andrei Golubev --- examples/quick/tableview/pixelator/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/quick/tableview/pixelator') diff --git a/examples/quick/tableview/pixelator/main.cpp b/examples/quick/tableview/pixelator/main.cpp index c07f43dc27..c74eac17bc 100644 --- a/examples/quick/tableview/pixelator/main.cpp +++ b/examples/quick/tableview/pixelator/main.cpp @@ -63,5 +63,5 @@ int main(int argc, char *argv[]) if (engine.rootObjects().isEmpty()) return -1; - return app.exec(); + return QGuiApplication::exec(); } -- cgit v1.2.3