Tatiana Borisova 5525779b2e QTextStream: use new operator bool() around the code
- After adding the QTextStream::operator bool(), it is not required to
check the QTextStream::status(). It is enough to use the reference
of stream in the statement, which returns true if stream status is OK.
New operator usage makes code more convenient.

Task-number: QTBUG-52189
Change-Id: Id9ecaa8a5c9cf1931dbeefa85f9d948d15379a82
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
2025-01-02 15:01:45 +01:00
..
2024-03-07 11:06:43 +01:00