diff options
| author | Friedemann Kleint <[email protected]> | 2021-05-18 08:25:39 +0200 |
|---|---|---|
| committer | Friedemann Kleint <[email protected]> | 2021-05-18 16:01:51 +0200 |
| commit | 18aad6da87a329ddf7ca7c92bf2371628220fb4f (patch) | |
| tree | e0f5ac631150ff4c90fda808a0af482a4ab298ff /util/cmake/pro2cmake.py | |
| parent | 21607d5db5e03a2784d588b21c59c70f7ad5cdc8 (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
Pick-to: 6.1
Change-Id: I377ebfd13487470b6f8eaf568dd5d99354f761f2
Reviewed-by: Paul Wicking <[email protected]>
Diffstat (limited to 'util/cmake/pro2cmake.py')
0 files changed, 0 insertions, 0 deletions
