summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qstringview.cpp
diff options
context:
space:
mode:
authorEirik Aavitsland <eirik.aavitsland@qt.io>2017-05-09 12:15:52 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2017-05-15 22:55:06 +0000
commit5dc0e4b2857ea279c9481b03e73ebe9b82228197 (patch)
treee0be55191b03e296d53164f2e0c06fabf1505f20 /src/corelib/tools/qstringview.cpp
parent8eccd1b0ad4073a548d8ee6343659525c0ccc5bb (diff)
Simplify code by factoring out brush transformation for gradients
Emulation of non-logical coordinate mode gradients was implemented by essentially 3 x 2 repetitions of the same manipulation of the QBrush transform. Avoid the code duplication by extracting a common method. Add lancelot test scripts that excersizes these code paths. Change-Id: I7baa921923231ef9e83e443dba996b82b32ad1e7 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/corelib/tools/qstringview.cpp')
0 files changed, 0 insertions, 0 deletions