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

QTreeWidgetItem flags include Qt::ItemIsDropEnabled if created without parent

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • Some future release
    • Some future release
    • Documentation
    • None
    • ubuntu
    • 49d9fd1935ae9c05ab1bc250d4c6f5a05a17bdb4

    Description

      in http://doc.trolltech.com/latest/qtreewidgetitem.html#flags it says "If the item was constructed with a parent, flags will in addition contain Qt::ItemIsDropEnabled.", what's wrong as QTreeWidgetItem flags also include Qt::ItemIsDropEnabled if created without a parent.
      proof:

      #include <QTreeWidgetItem>

      int main()
      {
      return QTreeWidgetItem().flags() & Qt::ItemIsDropEnabled;
      }

      Attachments

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

        Activity

          People

            mitch_curtis Mitch Curtis
            cheche steph
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes