Hello,
if im using a QList for images, images contains a null pointer after each iteration of the loop. It works fine with QLinkedList or QVector.
Why?

Qt Code:
  1. QStringList::iterator i = files.begin();
  2. while (i != files.end()) {
  3. QImage img(*i);
  4. images << img;
  5. i++;
  6.  
  7. }
To copy to clipboard, switch view to plain text mode 
thanks
Garg