Le vendredi 5 octobre 2007, Dennis Nienhüser a écrit : > It's still possible to drag 'n drop an account to the virtual tree root.
Annoying bug indeed. The attached patch to Qt should solve it (but i have not tested) I should maybe suggest it to Trolltech
Index: qtreewidget.cpp
===================================================================
--- qtreewidget.cpp (revision 713971)
+++ qtreewidget.cpp (working copy)
@@ -534,7 +534,7 @@
Qt::ItemFlags QTreeModel::flags(const QModelIndex &index) const
{
if (!index.isValid())
- return Qt::ItemIsDropEnabled; // can drop on the viewport
+ return rootItem->flags();
QTreeWidgetItem *itm = item(index);
Q_ASSERT(itm);
return itm->flags();
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ kopete-devel mailing list [email protected] https://mail.kde.org/mailman/listinfo/kopete-devel
