Add test for edid parsing and fix reading gamma
Summary:
The bug in reading the gamma value was there from the start (2012),
dividing the number by 100 will result in a truncated value.
Add test so that we can verify that the parsing of the EDIDs work,
it will be easy to add other problematic EDIDs later on.
Let edidDecodeFraction return float
All uses of the function are QQuaternion setters which take floats.
This saves a bunch of conversions and should thus be faster. The edid
test shows that the result is unchanged in all digits.
Reviewers: Plasma, romangg
Reviewed By: Plasma, romangg
Subscribers: romangg, plasma-devel
Tags: Plasma
Differential Revision: https://phabricator.kde.org/D14418