Switched from std::list to QList