Window/ScreenCapture: Remove arg from maximumFrameRateChanged signal


The signal "maximumFrameRateChanged" in QScreenCapture and
QWindowCapture is directly exposed to QML in the corresponding QML
classes. This signal has passed a std::optional<qreal> parameter, which
is unusable from QML. The prior solution has been to shadow the signal
in the QML-classes.

Shadowing members is strongly discouraged, as discussed during API
review. This patch makes us remove the parameter, and properly reuse the
signal in QML. Auto-tests have been updated correspondingly.

Pick-to: 6.12
Change-Id: I83e207478df726de5a88809571c8c62edfbe8fd8
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>
commitcca96547c93cae26434a97985a88ee6fbf67af63
parenta33973842fdd866e4c08d4eed5f532d18dbb8880
authorNils Petter Skålerud <nils.petter.skalerud@qt.io>
committerNils Petter Skålerud <nils.petter.skalerud@qt.io>
commit timeTue, 25 Aug 2026 14:16:20 +0000