diff options
| author | Ahmad Samir <a.samirh78@gmail.com> | 2023-05-15 14:41:14 +0300 |
|---|---|---|
| committer | Ahmad Samir <a.samirh78@gmail.com> | 2023-05-18 22:39:25 +0300 |
| commit | 976c3615a336ddb75d4430ff78fa2d1c20b45db2 (patch) | |
| tree | e163d06cd9373c80152422427a4ca864a8c9faef /src/gui/opengl/qopenglprogrambinarycache_p.h | |
| parent | 5c7702a8f9c8cf3722945b643dc3d21303c2482c (diff) | |
Moc: fix some narrowing conversion warnings by using range operations
I.e. range-for and in one case QList::append(iterator, iterator).
Drive-by changes:
- Check a QByteArray isn't empty before using at()
- Shorten a long line, QString::fromLocal8Bit() works with QByteArray
Pick-to: 6.5
Change-Id: I7e54ce39f65ccb1fe5e60693ac98e239b9f0d794
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/gui/opengl/qopenglprogrambinarycache_p.h')
0 files changed, 0 insertions, 0 deletions
