diff --git a/GUI/Models/DetectorItems.h b/GUI/Models/DetectorItems.h
index d96595c3d26f35777e9ac43a49e39bea125c7313..7867623db99232aae8934e0168148f7bbe3e412f 100644
--- a/GUI/Models/DetectorItems.h
+++ b/GUI/Models/DetectorItems.h
@@ -23,8 +23,10 @@ class IResolutionFunction2D;
 class DetectorItem;
 
 class BA_CORE_API_ DetectorItem : public SessionItem {
-public:
+private:
     static const QString T_MASKS;
+
+public:
     static const QString P_RESOLUTION_FUNCTION;
     static const QString P_ANALYZER_DIRECTION;
     static const QString P_ANALYZER_EFFICIENCY;