diff --git a/GUI/View/Mask/MaskEditorPropertyPanel.cpp b/GUI/View/Mask/MaskEditorPropertyPanel.cpp index 516c549b3804651d2cb1786ecdd2c1b8bfdcc80d..6cb4c203af00911175ec91c62ae014fff53eac31 100644 --- a/GUI/View/Mask/MaskEditorPropertyPanel.cpp +++ b/GUI/View/Mask/MaskEditorPropertyPanel.cpp @@ -16,8 +16,7 @@ #include "GUI/Model/Data/IntensityDataItem.h" #include "GUI/Model/Session/SessionModel.h" #include "GUI/View/PropertyEditor/ComponentEditor.h" - -#include <qAccordion/contentpane.h> +#include "GUI/View/Tool/Accordion.h" #include <QListView> #include <QVBoxLayout> diff --git a/GUI/View/Tool/Accordion.h b/GUI/View/Tool/Accordion.h new file mode 100644 index 0000000000000000000000000000000000000000..3ffc0fa9629f62c61a7a6f77a5449744dcf6bb13 --- /dev/null +++ b/GUI/View/Tool/Accordion.h @@ -0,0 +1,22 @@ +// ************************************************************************************************ +// +// BornAgain: simulate and fit reflection and scattering +// +//! @file GUI/View/Tool/Accordion.h +//! @brief Wraps include of headers from 3rdparty library qaccordion. +//! +//! @homepage http://www.bornagainproject.org +//! @license GNU General Public License v3 or higher (see COPYING) +//! @copyright Forschungszentrum Jülich GmbH 2018 +//! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS) +// +// ************************************************************************************************ + +#ifdef _MSC_VER +#pragma warning(push) +#pragma warning(disable : 4267) +#endif +#include <qAccordion/contentpane.h> +#ifdef _MSC_VER +#pragma warning(pop) +#endif diff --git a/GUI/View/Toplevel/TestView.cpp b/GUI/View/Toplevel/TestView.cpp index a864c51c6784dbd49fd49997b771e0d0c645850b..ea8737948241b26799fe71fcc9757ec120e6ac7c 100644 --- a/GUI/View/Toplevel/TestView.cpp +++ b/GUI/View/Toplevel/TestView.cpp @@ -22,8 +22,7 @@ #include "GUI/View/Fit/MinimizerSettingsWidget.h" #include "GUI/View/PropertyEditor/TestComponentView.h" #include "GUI/View/SpecularData/Plot1DCanvas.h" - -#include <qAccordion/contentpane.h> +#include "GUI/View/Tool/Accordion.h" #include <QCheckBox> #include <QLineEdit>