diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2019-02-03 17:09:10 +0100 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2019-02-06 22:11:27 +0000 |
commit | 4715ca7bc54fc1f30dd7e603a396c876d667c92c (patch) | |
tree | c18936b1b194f7820dfbe5c74214f252ec0a10e6 /examples/corelib/threads/queuedcustomtype/window.h | |
parent | 7910dd0a548cdd9e7c5716d4f6704b3185fa34fb (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/window.h')
-rw-r--r-- | examples/corelib/threads/queuedcustomtype/window.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/corelib/threads/queuedcustomtype/window.h b/examples/corelib/threads/queuedcustomtype/window.h index c472c0fea7..4215dfd5a7 100644 --- a/examples/corelib/threads/queuedcustomtype/window.h +++ b/examples/corelib/threads/queuedcustomtype/window.h @@ -65,7 +65,7 @@ class Window : public QWidget Q_OBJECT public: - Window(); + Window(QWidget *parent = nullptr); void loadImage(const QImage &image); public slots: |