From 1aaef7aa2b8464dfeb3d47f256a421ac88548748 Mon Sep 17 00:00:00 2001 From: Yuri Chornoivan Date: Mon, 2 Sep 2019 20:07:53 +0300 Subject: [PATCH] Fix minor EBN issues --- app/settings/tools/settingstools.h | 5 +++++ app/view/indicator/indicatorresources.cpp | 2 +- liblatte2/commontools.h | 5 +++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/app/settings/tools/settingstools.h b/app/settings/tools/settingstools.h index 63e79cfec..8594629eb 100644 --- a/app/settings/tools/settingstools.h +++ b/app/settings/tools/settingstools.h @@ -18,6 +18,9 @@ * */ +#ifndef SETTINGSTOOLS_H +#define SETTINGSTOOLS_H + // Qt #include #include @@ -28,3 +31,5 @@ bool isSelected(const QStyleOptionViewItem &option); QPalette::ColorGroup colorGroup(const QStyleOptionViewItem &option); } + +#endif diff --git a/app/view/indicator/indicatorresources.cpp b/app/view/indicator/indicatorresources.cpp index d024bdb6e..3f9d81733 100644 --- a/app/view/indicator/indicatorresources.cpp +++ b/app/view/indicator/indicatorresources.cpp @@ -17,8 +17,8 @@ * along with this program. If not, see . */ -#include "indicator.h" #include "indicatorresources.h" +#include "indicator.h" // Qt #include diff --git a/liblatte2/commontools.h b/liblatte2/commontools.h index ee61f93f8..1da1cb3f3 100644 --- a/liblatte2/commontools.h +++ b/liblatte2/commontools.h @@ -18,6 +18,9 @@ * */ +#ifndef COMMONTOOLS_H +#define COMMONTOOLS_H + // Qt #include @@ -35,3 +38,5 @@ float colorLumina(float r, float g, float b); //! local paths have higher priority by default QString standardPath(QString subPath, bool localFirst = true); } + +#endif