summaryrefslogtreecommitdiffstats
path: root/examples/corelib/threads/queuedcustomtype/renderthread.h
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2019-02-03 17:09:10 +0100
committerLiang Qi <liang.qi@qt.io>2019-02-06 22:11:27 +0000
commit4715ca7bc54fc1f30dd7e603a396c876d667c92c (patch)
treec18936b1b194f7820dfbe5c74214f252ec0a10e6 /examples/corelib/threads/queuedcustomtype/renderthread.h
parent7910dd0a548cdd9e7c5716d4f6704b3185fa34fb (diff)
Cleanup QtCore examples
Cleanup QtCore examples: - use new signal/slot syntax - use 0 instead nullptr - remove unneeded includes - use initializer lists - replace foreach with range-based-for loop Change-Id: I5581f485fa0e9ccf3f4ce6f643908832bc6959bb Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'examples/corelib/threads/queuedcustomtype/renderthread.h')
-rw-r--r--examples/corelib/threads/queuedcustomtype/renderthread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/corelib/threads/queuedcustomtype/renderthread.h b/examples/corelib/threads/queuedcustomtype/renderthread.h
index 318ef293b4..9375b60e74 100644
--- a/examples/corelib/threads/queuedcustomtype/renderthread.h
+++ b/examples/corelib/threads/queuedcustomtype/renderthread.h
@@ -62,7 +62,7 @@ class RenderThread : public QThread
Q_OBJECT
public:
- RenderThread(QObject *parent = 0);
+ RenderThread(QObject *parent = nullptr);
~RenderThread();
void processImage(const QImage &image);