diff options
| author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2025-03-25 11:58:36 +0100 |
|---|---|---|
| committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2025-04-24 10:44:03 +0100 |
| commit | eeead68995653ab38e43e9f1494feaaa679dfd07 (patch) | |
| tree | d27faff34eee926996cabab0d2fafee17c00745d /src/corelib/serialization/qdatastream.cpp | |
| parent | 323f408be6bcf5bfa5e2d447be94381556e52a62 (diff) | |
Examples: fix a couple of nodiscard warnings from QFile::open
In one case, the code simply checked for isOpen afterwards; refactor
it to use QFile::open's result. In another case, a file was opened
from the resource system, so add a check.
Pick-to: 6.9 6.8
Change-Id: I5f4c22dd5ce678f15c9c1609c4228d50a2b32a1d
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/serialization/qdatastream.cpp')
0 files changed, 0 insertions, 0 deletions
