summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_script_qscriptclass.cpp
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@nokia.com>2009-09-24 13:18:35 (GMT)
committerAndy Shaw <andy.shaw@nokia.com>2009-09-24 13:18:35 (GMT)
commitd01891cb30b12a9531caad6b82964bbd4cc330e2 (patch)
tree96d454ce4c755fe62ecf40b7d14541941a7061c1 /doc/src/snippets/code/src_script_qscriptclass.cpp
parent240f69a0b26601fe34fe2a692ab50e5d738f02f9 (diff)
downloadQt-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