From 8ffe77c67e7ed32d3250ce8406b34d1a2128b65b Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (h)" <j.wuttke@fz-juelich.de> Date: Fri, 27 Oct 2023 13:44:48 +0200 Subject: [PATCH] mv ProjectLoadProblemDialog to where it is used --- GUI/View/{Info => Project}/ProjectLoadProblemDialog.cpp | 4 ++-- GUI/View/{Info => Project}/ProjectLoadProblemDialog.h | 8 ++++---- GUI/View/Project/ProjectManager.cpp | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) rename GUI/View/{Info => Project}/ProjectLoadProblemDialog.cpp (97%) rename GUI/View/{Info => Project}/ProjectLoadProblemDialog.h (81%) diff --git a/GUI/View/Info/ProjectLoadProblemDialog.cpp b/GUI/View/Project/ProjectLoadProblemDialog.cpp similarity index 97% rename from GUI/View/Info/ProjectLoadProblemDialog.cpp rename to GUI/View/Project/ProjectLoadProblemDialog.cpp index 71a826eb100..260b437ad18 100644 --- a/GUI/View/Info/ProjectLoadProblemDialog.cpp +++ b/GUI/View/Project/ProjectLoadProblemDialog.cpp @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file GUI/View/Info/ProjectLoadProblemDialog.cpp +//! @file GUI/View/Project/ProjectLoadProblemDialog.cpp //! @brief Implements class ProjectLoadProblemDialog //! //! @homepage http://www.bornagainproject.org @@ -12,7 +12,7 @@ // // ************************************************************************************************ -#include "GUI/View/Info/ProjectLoadProblemDialog.h" +#include "GUI/View/Project/ProjectLoadProblemDialog.h" #include "GUI/Support/Util/DesignerHelper.h" #include "GUI/Support/Util/Path.h" #include <QGridLayout> diff --git a/GUI/View/Info/ProjectLoadProblemDialog.h b/GUI/View/Project/ProjectLoadProblemDialog.h similarity index 81% rename from GUI/View/Info/ProjectLoadProblemDialog.h rename to GUI/View/Project/ProjectLoadProblemDialog.h index 1d90608ba2d..3bb5635088e 100644 --- a/GUI/View/Info/ProjectLoadProblemDialog.h +++ b/GUI/View/Project/ProjectLoadProblemDialog.h @@ -2,7 +2,7 @@ // // BornAgain: simulate and fit reflection and scattering // -//! @file GUI/View/Info/ProjectLoadProblemDialog.h +//! @file GUI/View/Project/ProjectLoadProblemDialog.h //! @brief Defines class ProjectLoadProblemDialog //! //! @homepage http://www.bornagainproject.org @@ -12,8 +12,8 @@ // // ************************************************************************************************ -#ifndef BORNAGAIN_GUI_VIEW_INFO_PROJECTLOADPROBLEMDIALOG_H -#define BORNAGAIN_GUI_VIEW_INFO_PROJECTLOADPROBLEMDIALOG_H +#ifndef BORNAGAIN_GUI_VIEW_PROJECT_PROJECTLOADPROBLEMDIALOG_H +#define BORNAGAIN_GUI_VIEW_PROJECT_PROJECTLOADPROBLEMDIALOG_H #include <QDialog> #include <QString> @@ -34,4 +34,4 @@ private: QString m_projectDocumentVersion; }; -#endif // BORNAGAIN_GUI_VIEW_INFO_PROJECTLOADPROBLEMDIALOG_H +#endif // BORNAGAIN_GUI_VIEW_PROJECT_PROJECTLOADPROBLEMDIALOG_H diff --git a/GUI/View/Project/ProjectManager.cpp b/GUI/View/Project/ProjectManager.cpp index 174c042ae2c..c31e7708f65 100644 --- a/GUI/View/Project/ProjectManager.cpp +++ b/GUI/View/Project/ProjectManager.cpp @@ -20,7 +20,7 @@ #include "GUI/Support/Tool/mainwindow_constants.h" #include "GUI/Support/Util/MessageService.h" #include "GUI/View/Info/MessageBox.h" -#include "GUI/View/Info/ProjectLoadProblemDialog.h" +#include "GUI/View/Project/ProjectLoadProblemDialog.h" #include "GUI/View/Project/AutosaveController.h" #include "GUI/View/Project/NewProjectDialog.h" #include <QApplication> -- GitLab