I just can not understand. I created a class with a QVector inside that accepts another class, and a method with which you can add this class to it. And here is the problem: Every time I use this method, I’m thrown out, as if the program is not responding. Debagger says that it is SIGSEGV and sends me to this line
void QVector<T>::append(const T &t) { const bool isTooSmall = uint(d->size + 1) > d->alloc; //Вот эта строчка ...