From a4d7a4ccb39daa86ee2ef23b1408344822ae7c16 Mon Sep 17 00:00:00 2001 From: Rym Bouabid Date: Wed, 6 Sep 2023 14:20:24 +0200 Subject: Revamp Mandelbrot example: Fix Includes Reorder the includes following the coding conventions. Remove unneeded includes. Add needed includes to avoid Transitive includes. QGestureEvent is passed by a pointer in the gestureEvent method in mandelbrotwidget.h. So, we do not really need to include the header. Instead, forward-declare QGestureEvent class in a namespace. Task-number: QTBUG-108861 Pick-to: 6.6 6.5 Change-Id: I48cfd663bf98350281ef7f31e6c0ef3e301a08ca Reviewed-by: Dennis Oberst Reviewed-by: Ivan Solovev --- examples/corelib/threads/mandelbrot/renderthread.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'examples/corelib/threads/mandelbrot/renderthread.cpp') diff --git a/examples/corelib/threads/mandelbrot/renderthread.cpp b/examples/corelib/threads/mandelbrot/renderthread.cpp index 9e6c884f91..7e4ff5ba8e 100644 --- a/examples/corelib/threads/mandelbrot/renderthread.cpp +++ b/examples/corelib/threads/mandelbrot/renderthread.cpp @@ -4,7 +4,6 @@ #include "renderthread.h" #include - #include #include -- cgit v1.2.3