summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2013-08-08 16:32:58 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-12 19:01:33 +0200
commitf6a067e0bad24bc7cd8d191f70e77eb92669bc1e (patch)
treec26f85fda9f75ee303163338968e9ff07a0f63d3
parent3b0e6df642e08b4c0a209a793fc911988b72c02e (diff)
un-confuse lupdate: use #if 0 consistently
it's no good idea to #if 0 the opening brace but comment out the closing one. Change-Id: I6f9ca8f14f0dc82fb22df85de547564336ed0476 Reviewed-by: Sean Harmer <sean.harmer@kdab.com> Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
-rw-r--r--src/gui/opengl/qopengltextureglyphcache.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/opengl/qopengltextureglyphcache.cpp b/src/gui/opengl/qopengltextureglyphcache.cpp
index 66ca5c601f..506aec0f43 100644
--- a/src/gui/opengl/qopengltextureglyphcache.cpp
+++ b/src/gui/opengl/qopengltextureglyphcache.cpp
@@ -372,7 +372,9 @@ void QOpenGLTextureGlyphCache::fillTexture(const Coord &c, glyph_t glyph, QFixed
} else {
#endif
glTexSubImage2D(GL_TEXTURE_2D, 0, c.x, c.y, maskWidth, maskHeight, GL_ALPHA, GL_UNSIGNED_BYTE, mask.bits());
-// }
+#if 0
+ }
+#endif
}
}