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

Windows: QListWidget internal move leaks QDrag objects

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • 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)

    Description

      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.

      Attachments

        1. qtbug39651.zip
          1 kB
          Friedemann Kleint
        2. main.cpp
          0.2 kB
          David Luggen
        3. listwidget.h
          0.3 kB
          David Luggen
        4. listwidget.cpp
          0.5 kB
          David Luggen

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes