Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-39651

Windows: QListWidget internal move leaks QDrag objects

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • 5.4.0
    • 5.3.0
    • GUI: Drag and Drop
    • None
    • Windows 7 64-bit
    • Memory leak: e4becdc3d310a0dd1a6d34d0796a52b21dedeb2d (dev, 1.7.2014, 5.4)

      I stumbled across the fact, that QListWidget with several items in it and internal move activated, increments its children count every time you move an item to another place.

      Attached a simple example of that behaviour.

        1. listwidget.cpp
          0.5 kB
          David Luggen
        2. listwidget.h
          0.3 kB
          David Luggen
        3. main.cpp
          0.2 kB
          David Luggen
        4. qtbug39651.zip
          1 kB
          Friedemann Kleint
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Unassigned Unassigned
            luggi David Luggen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes