Qt ------ Q_UNUSED
Q_UNUSED(name)
Indicates to the compiler that the parameter with the specified name is not used in the body of a function. This can be used to suppress compiler warnings while allowing functions to be defined with meaningful parameter names in their signatures.

浙公网安备 33010602011771号