summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_opengl_qglpixelbuffer.cpp
diff options
context:
space:
mode:
authorBjoern Erik Nilsen <bnilsen@trolltech.com>2009-02-26 14:47:04 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-04-15 10:14:48 (GMT)
commite87fd9a6fd06d57f4b007ab72c60041eaf0dec0f (patch)
treea6c01262390d4980f9f54b065b0d51870ede9835 /doc/src/snippets/code/src_opengl_qglpixelbuffer.cpp
parent36e4718fba72a9962299c1a5ee279fa4addddec3 (diff)
downloadQt-e87fd9a6fd06d57f4b007ab72c60041eaf0dec0f.zip
Qt-e87fd9a6fd06d57f4b007ab72c60041eaf0dec0f.tar.gz
Qt-e87fd9a6fd06d57f4b007ab72c60041eaf0dec0f.tar.bz2
Fixes: Use QRect::isEmpty() rather than isNull() if possible.
RevBy: Andreas Details: Note that isNull() implies isEmpty(), but it only catches the cases where width and height is 0. (cherry picked from commit 8a2ebc96220f50be3a9c382c32d7eaab89921ff7)
Diffstat (limited to 'doc/src/snippets/code/src_opengl_qglpixelbuffer.cpp')
0 files changed, 0 insertions, 0 deletions