diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-11-10 07:18:03 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-11-10 07:18:03 (GMT) |
commit | 606e15215b33b51a4bc716654388b8e9eaa647e6 (patch) | |
tree | b786af92424c752ddc5fd130844281558ce17995 /src/gui/kernel | |
parent | 9bc46788f3b0f4a652be604d3facbcd84602677a (diff) | |
parent | 2c7bab684fa9684175b9a6c913a20a76f3502d08 (diff) | |
download | Qt-606e15215b33b51a4bc716654388b8e9eaa647e6.zip Qt-606e15215b33b51a4bc716654388b8e9eaa647e6.tar.gz Qt-606e15215b33b51a4bc716654388b8e9eaa647e6.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
Clear X11 structure before use
Make operator QRectF const
Fix GC-related crash in QScriptValue::setData()
get rid of dependency on QtGui
Removed implicity QtGui linking from icd.pro as it is not needed.
DFB: Make sure QPixmap::hasAlpha is respected
fix build on mingw
Fix some painting issues in QDirectFBPaintEngine
QNAM: Do not need QNetworkSession in AlwaysCache load mode
Don't crash if QScriptClass property getter returns an invalid value
QNAM: Remove dead waitForUpstreamBytesWritten() code
QNAM: Remove dead waitForDownstreamReadyRead() code
fix memleak in test
Diffstat (limited to 'src/gui/kernel')
-rw-r--r-- | src/gui/kernel/qmotifdnd_x11.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/kernel/qmotifdnd_x11.cpp b/src/gui/kernel/qmotifdnd_x11.cpp index 3334455..3b79129 100644 --- a/src/gui/kernel/qmotifdnd_x11.cpp +++ b/src/gui/kernel/qmotifdnd_x11.cpp @@ -385,7 +385,10 @@ static void DndReadSourceProperty(Display * dpy, static void DndWriteReceiverProperty(Display * dpy, Window window, unsigned char protocol_style) { - DndReceiverProp receiver_prop ; + DndReceiverProp receiver_prop; + + // squelch potential valgrind errors about uninitialized reads + memset(&receiver_prop, 0, sizeof(receiver_prop)); receiver_prop.byte_order = DndByteOrder() ; receiver_prop.protocol_version = DND_PROTOCOL_VERSION; |