Remove the last use of QTextStream::codec(), which is gone in Qt6
We never set a codec on the stream we get here, so it's always the default, the codec for the current locale.
We never set a codec on the stream we get here, so it's always the default, the codec for the current locale.