QSerialPort docs: clarify negative values in set{Read,Write}BufferSize


Generally speaking, passing negative value as a buffer size does not
make sense. However, in practice negative parameters are handled
differently for read and write buffers.
Document it to avoid confusion.

Task-number: QTBUG-144899
Pick-to: 6.12 6.11
Change-Id: Ic608ebb00b9fe44c1e53f61d9e7172907b9e3110
Reviewed-by: Tatiana Borisova <tatiana.borisova@qt.io>
commit37ab9f41f0d164791757aa050e114b537c34fda1
parentf11174f614ab961965cdf142f2a4c1d57f0e9a34
authorIvan Solovev <ivan.solovev@qt.io>
committerIvan Solovev <ivan.solovev@qt.io>
commit timeThu, 6 Aug 2026 08:25:10 +0000