From 29234e97ad6187f9f7625ef75baaf43a05eeafad Mon Sep 17 00:00:00 2001 From: Paul Olav Tvete Date: Fri, 25 Sep 2009 10:20:38 +0200 Subject: Fix QT_VNC_NO_DISABLEPAINTING logic Oops... Reviewed-by: Jeremy --- src/plugins/gfxdrivers/vnc/qscreenvnc_qws.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v0.12