diff options
author | Andy Shaw <andy.shaw@nokia.com> | 2009-09-24 13:18:35 (GMT) |
---|---|---|
committer | Andy Shaw <andy.shaw@nokia.com> | 2009-09-24 13:18:35 (GMT) |
commit | d01891cb30b12a9531caad6b82964bbd4cc330e2 (patch) | |
tree | 96d454ce4c755fe62ecf40b7d14541941a7061c1 /doc/src/snippets/code/src_script_qscriptclass.cpp | |
parent | 240f69a0b26601fe34fe2a692ab50e5d738f02f9 (diff) | |
download | Qt-d01891cb30b12a9531caad6b82964bbd4cc330e2.zip Qt-d01891cb30b12a9531caad6b82964bbd4cc330e2.tar.gz Qt-d01891cb30b12a9531caad6b82964bbd4cc330e2.tar.bz2 |
Ensure that the gradient is not given an invalid stop point
When the size is 4 or less then it had would end up specifying a stop
point greater than 1 when setting up the gradient. By rights a size
less than 4 should not happen but this ensures it does not cause a
warning.
Reviewed-by: Jens Bache-Wiig
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptclass.cpp')
0 files changed, 0 insertions, 0 deletions