diff options
author | Rym Bouabid <rym.bouabid@qt.io> | 2023-09-06 14:20:24 +0200 |
---|---|---|
committer | Rym Bouabid <rym.bouabid@qt.io> | 2023-09-11 15:05:47 +0200 |
commit | a4d7a4ccb39daa86ee2ef23b1408344822ae7c16 (patch) | |
tree | 43fde47628f21f2d6d5f4b9a839dd22a491abb66 /examples/corelib/threads/mandelbrot/renderthread.cpp | |
parent | 7a70c6fcfd5d3e000b80ab9b833f4e2b14a3563d (diff) |
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 <dennis.oberst@qt.io>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'examples/corelib/threads/mandelbrot/renderthread.cpp')
-rw-r--r-- | examples/corelib/threads/mandelbrot/renderthread.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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 <QImage> - #include <QElapsedTimer> #include <QTextStream> |