diff options
author | Ulf Hermann <[email protected]> | 2021-06-30 11:29:53 +0200 |
---|---|---|
committer | Ulf Hermann <[email protected]> | 2021-06-30 14:16:55 +0200 |
commit | b200fbe213adf2859ddebefac0be60b04389a8a6 (patch) | |
tree | 5ce163112f85264393ae3875345114d407ba39a7 /examples/quick/customitems | |
parent | 1629fa0c6c000127d84956c0604804a896e8f9bf (diff) |
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 <[email protected]>
Reviewed-by: Andrei Golubev <[email protected]>
Diffstat (limited to 'examples/quick/customitems')
-rw-r--r-- | examples/quick/customitems/maskedmousearea/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/customitems/maskedmousearea/main.cpp b/examples/quick/customitems/maskedmousearea/main.cpp index 5b42516154..3d6fabf22f 100644 --- a/examples/quick/customitems/maskedmousearea/main.cpp +++ b/examples/quick/customitems/maskedmousearea/main.cpp @@ -60,5 +60,5 @@ int main(int argc, char* argv[]) view.setSource(QUrl("qrc:///customitems/maskedmousearea/maskedmousearea.qml")); view.show(); - return app.exec(); + return QGuiApplication::exec(); } |