Use initializer lists instead of QList<int>() << element.