Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 7

Qt-interest Archive, March 2007
One extra (invalid) url is returned by QMimeData::urls()


Message 1 in thread

Inside MyCustomTreeModel::dropMimeData(), when some urls are dropped
in the view QMimeData::urls()->count() returns one more than the urls
dropped and last url is invalid (i.e. If I dragged two urls->count()
will return 3).

This happens when I drag from a Qt3 app and drop in a Qt4 app. If I
drag from Qt4 app then it is OK.

I'm using Qt/X11 Version 4.3.0-snapshot-20070327 on Linux.

Thanks
-- 
 [ signature omitted ]