From 2fe79a88a9532f976fa1d94807bba04a01d8ab19 Mon Sep 17 00:00:00 2001
From: Joachim Wuttke <j.wuttke@fz-juelich.de>
Date: Fri, 26 Jul 2024 12:39:05 +0200
Subject: [PATCH] rm 'using'

---
 GUI/Model/Job/ParameterTreeBuilder.cpp | 2 +-
 GUI/Model/Sample/RotationCatalog.h     | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/GUI/Model/Job/ParameterTreeBuilder.cpp b/GUI/Model/Job/ParameterTreeBuilder.cpp
index 8488a6c0858..b17a06185a4 100644
--- a/GUI/Model/Job/ParameterTreeBuilder.cpp
+++ b/GUI/Model/Job/ParameterTreeBuilder.cpp
@@ -312,7 +312,7 @@ void ParameterTreeBuilder::addRotation(ParameterLabelItem* parentLabel, ItemWith
     if (!r)
         return;
 
-    auto* label = addLabel<RotationCatalog>(parentLabel, "Rotation", r);
+    auto* label = addLabel2<RotationItem, RotationCatalog>(parentLabel, "Rotation", r);
     for (auto* d : r->rotationProperties())
         addParameterItem(label, *d);
 }
diff --git a/GUI/Model/Sample/RotationCatalog.h b/GUI/Model/Sample/RotationCatalog.h
index d165f722366..db202a3e1ad 100644
--- a/GUI/Model/Sample/RotationCatalog.h
+++ b/GUI/Model/Sample/RotationCatalog.h
@@ -22,8 +22,6 @@ class RotationItem;
 
 class RotationCatalog {
 public:
-    using BaseItem = RotationItem;
-
     // Do not change the numbering! It is serialized!
     enum class Type : uint8_t {
         None = 0,
-- 
GitLab