QGrpcOperationContext: add nodiscard to descriptor() and document it


Add the missing [[nodiscard]] specifier to prevent accidental misuse,
and provide documentation for the method.

Found during the Qt 6.11 API review.

Pick-to: 6.11
Change-Id: I6caa28131eb2a9c81c582528a2509abd78d18f6c
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
commiteb1969c036760502a620b5b3e10f6c4f08cb6022
parent78e6927cb18d481d69095d4e806e8921fb4fc9a3
authorDennis Oberst <dennis.oberst@qt.io>
committerDennis Oberst <dennis.oberst@qt.io>
commit timeThu, 12 Feb 2026 17:14:25 +0100