Changed QList to QVector.