Fix memory leak in preset history docker
Qt docs clearly say that items removed with QListWidgetItem::takeItem() will not be managed by Qt and hence need to be deleted manually.