Skip to content

More robust against malformed hints

Marco Martin requested to merge work/cherry-pick-5deb0a74 into Plasma/6.0

std::clamp can assert when the minimum value is bigger than the maximum value, max(min(minimum, value), maximum) should be a bit more robust against such cases, and still return a valuse that is somewhat sensible and usable

BUG:487230

(cherry picked from commit 5deb0a74)

5deb0a74 More robust against malformed hints

Merge request reports