Fixed templating copies because QT copied in friends as members