From 373837fbb38d040f8f41371ccb4dd1d134302104 Mon Sep 17 00:00:00 2001
From: "Joachim Wuttke (h)" <j.wuttke@fz-juelich.de>
Date: Sat, 25 Feb 2023 16:41:14 +0100
Subject: [PATCH] fwd decl

---
 GUI/View/Device/ResolutionForm.cpp | 1 -
 GUI/View/Device/ResolutionForm.h   | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/GUI/View/Device/ResolutionForm.cpp b/GUI/View/Device/ResolutionForm.cpp
index 75d6da7d511..05b97400ea5 100644
--- a/GUI/View/Device/ResolutionForm.cpp
+++ b/GUI/View/Device/ResolutionForm.cpp
@@ -19,7 +19,6 @@
 #include "GUI/View/Numeric/NumWidgetUtils.h"
 #include "GUI/View/Tool/GroupBoxCollapser.h"
 #include <QFormLayout>
-#include <QGroupBox>
 
 ResolutionForm::ResolutionForm(Unit unit, QWidget* parent, DetectorItem* item)
     : QGroupBox("Resolution function", parent)
diff --git a/GUI/View/Device/ResolutionForm.h b/GUI/View/Device/ResolutionForm.h
index 7d3f8b50a51..1a7c60a312b 100644
--- a/GUI/View/Device/ResolutionForm.h
+++ b/GUI/View/Device/ResolutionForm.h
@@ -15,10 +15,10 @@
 #ifndef BORNAGAIN_GUI_VIEW_DEVICE_RESOLUTIONFORM_H
 #define BORNAGAIN_GUI_VIEW_DEVICE_RESOLUTIONFORM_H
 
-#include <QFormLayout>
 #include <QGroupBox>
 
 class DetectorItem;
+class QFormLayout;
 
 //! Widget for selecting the resolution function of a detector (combo box) and input of the
 //! corresponding values
-- 
GitLab