summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/bearer/symbian/symbian_3/symbian_3.pro1
-rw-r--r--src/plugins/gfxdrivers/vnc/qscreenvnc_qws.cpp6
2 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/bearer/symbian/symbian_3/symbian_3.pro b/src/plugins/bearer/symbian/symbian_3/symbian_3.pro
index f9d486e..804986a 100644
--- a/src/plugins/bearer/symbian/symbian_3/symbian_3.pro
+++ b/src/plugins/bearer/symbian/symbian_3/symbian_3.pro
@@ -7,6 +7,7 @@ exists($${EPOCROOT}epoc32/release/armv5/lib/cmmanager.lib) {
exists($$MW_LAYER_PUBLIC_EXPORT_PATH(extendedconnpref.h)) {
DEFINES += OCC_FUNCTIONALITY_AVAILABLE
+ LIBS += -lextendedconnpref
}
} else {
# Fall back to 3_1 implementation on platforms that do not have cmmanager
diff --git a/src/plugins/gfxdrivers/vnc/qscreenvnc_qws.cpp b/src/plugins/gfxdrivers/vnc/qscreenvnc_qws.cpp
index f5ad70c..3bafd97 100644
--- a/src/plugins/gfxdrivers/vnc/qscreenvnc_qws.cpp
+++ b/src/plugins/gfxdrivers/vnc/qscreenvnc_qws.cpp
@@ -1053,7 +1053,7 @@ void QVNCServer::clientCutText()
{
QRfbClientCutText ev;
- if (ev.read(client)) {
+ if (cutTextPending == 0 && ev.read(client)) {
cutTextPending = ev.length;
if (!cutTextPending)
handleMsg = false;
@@ -1481,7 +1481,7 @@ void QVNCServer::convertPixels(char *dst, const char *src, int count) const
}
if (count & 0x1) {
const quint16 *src16 = reinterpret_cast<const quint16*>(src);
- dst32[count - 1] = qt_conv16ToRgb(src16[count - 1]);
+ *dst32 = qt_conv16ToRgb(src16[count - 1]);
}
return;
#endif
@@ -2038,7 +2038,7 @@ void QVNCServer::discardClient()
delete qvnc_cursor;
qvnc_cursor = 0;
#endif
- if (!qvnc_screen->screen() && !qvnc_screen->d_ptr->noDisablePainting)
+ if (!qvnc_screen->screen() && !qvnc_screen->d_ptr->noDisablePainting && QWSServer::instance())
QWSServer::instance()->enablePainting(false);
}