diff --git a/GUI/View/SampleDesigner/CompoundForm.h b/GUI/View/SampleDesigner/CompoundForm.h
index 05c5e9dafa46ac87b29851b3fb8fe4b208cc43f9..1bd0884d90903424e99ffc23ab64cb569da5288b 100644
--- a/GUI/View/SampleDesigner/CompoundForm.h
+++ b/GUI/View/SampleDesigner/CompoundForm.h
@@ -24,7 +24,6 @@ class SampleEditorController;
 
 //! Form for editing a particle composition
 class CompoundForm : public QGroupBox {
-    Q_OBJECT
 public:
     CompoundForm(QWidget* parent, CompoundItem* compositionItem, SampleEditorController* ec,
                  bool allowRemove = true);