Qt5: workaround for undocking of mdi view

fix minor issues reported by clang static analyzer
This commit is contained in:
wmayer
2017-05-03 22:01:46 +02:00
parent 1a9c878b60
commit 378a1e4f58
6 changed files with 83 additions and 10 deletions

View File

@@ -870,7 +870,7 @@ void GLImageBox::renderText(int x, int y, const QString& str, const QFont& fnt)
GLint view[4];
bool use_scissor_testing = f->glIsEnabled(GL_SCISSOR_TEST);
if (!use_scissor_testing)
//if (!use_scissor_testing)
f->glGetIntegerv(GL_VIEWPORT, &view[0]);