Problem with double linked list!

I have created a double-linked list in which the remove method does not work, but the compiler reports no errors! (Detail I used with QT)