Fix warning from [[nodiscard]] QIODevice::open


Change-Id: I16d708847066adf6a0b3920514cb2f3e0b87da15
Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
commit655b856f9cadad6fd717e5297e86b67051259405
parente7fad0b556d334b362c9f0a36423e0d20e5b0e5e
authorVolker Hilsheimer <volker.hilsheimer@qt.io>
committerVolker Hilsheimer <volker.hilsheimer@qt.io>
commit timeWed, 15 Jan 2025 15:33:12 +0100