Files
OpenRGB/qt/OpenRGBDevicePage.cpp
Simon Chopin acb313631f device page: disable resize button if there are no zones
I have an unsupported Asus GPU which shows up as a device but doesn't
have any zone configured. Clicking on the Resize button leads to an
out-of-bounds read in the empty `zones` vector to `zones[-1]` (default
value of the QComboBox property).

The fix is to entirely disable the button when we're disabling the zones
box.
2022-12-31 16:43:41 +01:00

48 KiB