diff options
| author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2019-09-06 23:24:56 +0200 |
|---|---|---|
| committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2019-10-11 06:32:30 +0200 |
| commit | 4af00753fad57989a6ae366cc3dbfc56d88508f4 (patch) | |
| tree | 1afa2fef01d285f85c13b814cbfaa95376b442ea /examples/widgets/tutorials/notepad/notepad.h | |
| parent | 65fcd8524da628c99e8cd28f983f0c17fbe157f0 (diff) | |
Cleanup QtWidgets examples
Cleanup QtWidgets examples:
- use nullptr (clang-tidy)
- use member-initialization
- adjust the style
- fix includes
Change-Id: Ic5448606aacc525ea60b615a69227017aa2b821a
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'examples/widgets/tutorials/notepad/notepad.h')
| -rw-r--r-- | examples/widgets/tutorials/notepad/notepad.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/tutorials/notepad/notepad.h b/examples/widgets/tutorials/notepad/notepad.h index 9580ab80713..5e44dfeedcb 100644 --- a/examples/widgets/tutorials/notepad/notepad.h +++ b/examples/widgets/tutorials/notepad/notepad.h @@ -72,7 +72,7 @@ class Notepad : public QMainWindow //! [4] public: - explicit Notepad(QWidget *parent = 0); + explicit Notepad(QWidget *parent = nullptr); //! [4] //! [5] ~Notepad(); |
