From daf40c63af164abdd36be164d937c59c51a8d0e6 Mon Sep 17 00:00:00 2001 From: Walter Van Herck <w.van.herck@fz-juelich.de> Date: Fri, 26 Aug 2016 11:51:27 +0200 Subject: [PATCH] Added necessary include --- GUI/coregui/utils/GUIHelpers.cpp | 6 +++--- GUI/main/CMakeLists.txt | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/GUI/coregui/utils/GUIHelpers.cpp b/GUI/coregui/utils/GUIHelpers.cpp index 0391cc1f4e0..8061c7fb411 100644 --- a/GUI/coregui/utils/GUIHelpers.cpp +++ b/GUI/coregui/utils/GUIHelpers.cpp @@ -14,6 +14,7 @@ // // ************************************************************************** // +#include "GUIHelpers.h" #include "BAVersion.h" #include "JobItem.h" #include "RealDataItem.h" @@ -23,8 +24,6 @@ #include <QMessageBox> #include <QPushButton> -namespace GUIHelpers { - namespace { QMap<QString, QString> initializeCharacterMap() { @@ -40,8 +39,9 @@ QMap<QString, QString> initializeCharacterMap() } const QMap<QString, QString> invalidCharacterMap = initializeCharacterMap(); +} // Anonymous namespace -} +namespace GUIHelpers { void information(QWidget *parent, const QString &title, const QString &text, const QString &detailedText) { diff --git a/GUI/main/CMakeLists.txt b/GUI/main/CMakeLists.txt index d09afc57233..b4a82305ade 100644 --- a/GUI/main/CMakeLists.txt +++ b/GUI/main/CMakeLists.txt @@ -49,7 +49,6 @@ endif() add_executable(${executable_name} ${executable_options} ${source_files} - ${include_files} ${system_addons}) -- GitLab