summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@nokia.com>2009-09-25 08:20:38 (GMT)
committerPaul Olav Tvete <paul.tvete@nokia.com>2009-09-25 08:21:53 (GMT)
commit29234e97ad6187f9f7625ef75baaf43a05eeafad (patch)
tree856c500ea1efe0b50cb5e5e2d62795efeabd3f40 /src/plugins
parent4c35ea3b6e39cbbaffb3e5187cba247da368b638 (diff)
downloadQt-29234e97ad6187f9f7625ef75baaf43a05eeafad.zip
Qt-29234e97ad6187f9f7625ef75baaf43a05eeafad.tar.gz
Qt-29234e97ad6187f9f7625ef75baaf43a05eeafad.tar.bz2
Fix QT_VNC_NO_DISABLEPAINTING logic
Oops... Reviewed-by: Jeremy
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/gfxdrivers/vnc/qscreenvnc_qws.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/gfxdrivers/vnc/qscreenvnc_qws.cpp b/src/plugins/gfxdrivers/vnc/qscreenvnc_qws.cpp
index f28e160..f44fe0d 100644
--- a/src/plugins/gfxdrivers/vnc/qscreenvnc_qws.cpp
+++ b/src/plugins/gfxdrivers/vnc/qscreenvnc_qws.cpp
@@ -198,7 +198,7 @@ QVNCScreenPrivate::QVNCScreenPrivate(QVNCScreen *parent)
vncServer(0), q_ptr(parent), noDisablePainting(false)
{
#ifdef QT_BUILD_INTERNAL
- noDisablePainting = (qgetenv("QT_VNC_NO_DISABLEPAINTING").toInt() <=0);
+ noDisablePainting = (qgetenv("QT_VNC_NO_DISABLEPAINTING").toInt() > 0);
#endif
#ifndef QT_NO_QWS_SIGNALHANDLER
QWSSignalHandler::instance()->addObject(this);