Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/gui/kernel/qmotifdnd_x11.cpp

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    386386                                     unsigned char protocol_style)
    387387{
    388     DndReceiverProp receiver_prop ;
     388    DndReceiverProp receiver_prop;
     389
     390    // squelch potential valgrind errors about uninitialized reads
     391    memset(&receiver_prop, 0, sizeof(receiver_prop));
    389392
    390393    receiver_prop.byte_order = DndByteOrder() ;
     
    767770        Atom type;
    768771
    769         if (X11->clipboardReadProperty(tw->internalWinId(), Dnd_selection, true, &result, 0, &type, 0, false)) {
     772        if (X11->clipboardReadProperty(tw->internalWinId(), Dnd_selection, true, &result, 0, &type, 0)) {
    770773        }
    771774    }
Note: See TracChangeset for help on using the changeset viewer.