summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_opengl_qglpixelbuffer.cpp
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@accenture.com>2010-10-18 14:15:39 (GMT)
committerShane Kearns <shane.kearns@accenture.com>2010-10-19 08:36:18 (GMT)
commit366d2ed09ebf5aa27171a46d723497e5aaa5dd06 (patch)
treecacb6df98c2f147fe720e6ac37f95259da9f1788 /doc/src/snippets/code/src_opengl_qglpixelbuffer.cpp
parent2e35e9c1eabe667798572457c61e1d1d1f373317 (diff)
downloadQt-366d2ed09ebf5aa27171a46d723497e5aaa5dd06.zip
Qt-366d2ed09ebf5aa27171a46d723497e5aaa5dd06.tar.gz
Qt-366d2ed09ebf5aa27171a46d723497e5aaa5dd06.tar.bz2
Implement seek beyond end of file for symbian
On Symbian, the Seek() function clamps to the end of file position if a position beyond the end of file is given. Also the write functions which take a position silently append at the end of file position if asked to write to a start position beyond EOF. To avoid this behaviour, we don't use seek but rather maintain our own cursor position. When writing, we check if the cursor is beyond EOF and if so extend the file using SetSize() before writing. Reviewed-By: joao
Diffstat (limited to 'doc/src/snippets/code/src_opengl_qglpixelbuffer.cpp')
0 files changed, 0 insertions, 0 deletions