> On Saturday 12 February 2005 11:37 pm, Hans-Peter Jansen wrote: >> BTW, did you notice the decode problem in the dirview example. >> Dropping an item somewhere always decodes as an empty list: >> >> # currently used: >> lst = QStringList() >> QUriDrag.decodeLocalFiles(e, lst) >> >> # similar as in dirview.cpp: >> lst = [] >> QUriDrag.decode(e, lst) >> >> I already tried to keep references on the dragged items, but that >> doesn't change the picture. >> >> Could you take another look into this? In return, I can offer an >> adapted qdir example, which also uses dirview.
Replacing the call to QUriDrag.setUnicodeUris() with a call to QUriDrag.setFileNames() seems to fix this. Phil _______________________________________________ PyKDE mailing list [email protected] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
