Tomasz Siekierda schreef op 6-11-2014 09:10: > To store 2 items at a single position in list/ vector, you can use > QPair, like this: QLIst<QPair<type1, type2> >() Better yet, just use a struct then. QPair in my experience results in badly readable code. Who will ever remember down the line what was first, and what was second? And the moment you end up needing a third item, QPair is insufficient anyway.
André _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
