diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-05-18 08:25:39 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-05-18 19:11:38 +0000 |
commit | fb9d138e5369c0585cc658583a60539002057ec6 (patch) | |
tree | 4e45e1f65a98ad27fed261715aca115ddb690475 /examples/widgets/painting/gradients/.prev_CMakeLists.txt | |
parent | 6acfb57c1c1871c3c45a561b7e54b9c9011d127c (diff) |
Brush up the text edit example
- Use initializer lists
- Use u instead of QLatin1String()
- Fix some clang warnings about else after return, constFirst()
- Streamline code
- Remove slot TextEdit::printPreview() which is not needed
- Rename variable fileName to pdfFileName in filePrintPdf()
to disambiguate from this->fileName
Change-Id: I377ebfd13487470b6f8eaf568dd5d99354f761f2
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit 18aad6da87a329ddf7ca7c92bf2371628220fb4f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/widgets/painting/gradients/.prev_CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions