Details
-
Bug
-
Resolution: Done
-
P4: Low
-
Some future release
-
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;
}