2009/9/16 Giovanni Bajo <[email protected]>:

> I can't see why you're surprised then... QStringList's constructor accepts
> a list of strings, not a list of lists.

I know that, but I'm perfoming a for loop on the list of lists... :)

By the way, if I pass a list of QString it has no problem. For example,

for task in TASKS: # TASKS is the list of lists
    task_list = QStringList([QString(t) for t in task])

works like a charm.

Thanks,
Simone
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to