diff --git a/GUI/Model/Model/ParameterTreeUtil.cpp b/GUI/Model/Model/ParameterTreeUtil.cpp index 54671288089ea0670d2563fb1ea9c568ce046d26..2f58ccbbd95f0a82942e59b698ffab261cfb2124 100644 --- a/GUI/Model/Model/ParameterTreeUtil.cpp +++ b/GUI/Model/Model/ParameterTreeUtil.cpp @@ -400,7 +400,6 @@ void ParameterTreeBuilder::addOffspecDetector(ParameterLabelItem* parentLabel, { auto* label = new ParameterLabelItem("Detector", parentLabel); auto* phiLabel = new ParameterLabelItem("Phi axis", label); - const QString unit = unitAsString(Unit::degree); addParameterItem(phiLabel, detector->phiAxis().min()); addParameterItem(phiLabel, detector->phiAxis().max()); auto* alphaLabel = new ParameterLabelItem("Alpha axis", label);