Fix layout issue in the history docker
Adding the layout twice breaks the intended result; also, QLayout::addItem() "is not usually called in application code."