From e27160df0c9f91c4d776cc41a4e8efd5402f03f4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Kundr=C3=A1t?= Date: Fri, 29 Jun 2018 03:00:34 +0200 Subject: [PATCH] Add missing header guards Change-Id: I2148001abaa6c4b47bb9c9dc0a8bf9862eb95e8a Fixes: https://lgtm.com/projects/g/KDE/trojita/alerts/?mode=list&rule=cpp%2Fmissing-header-guard --- src/Common/SettingsCategoryGuard.h | 2 ++ src/Gui/ComposerAttachmentsList.h | 2 ++ src/Gui/ComposerTextEdit.h | 2 ++ 3 files changed, 6 insertions(+) diff --git a/src/Common/SettingsCategoryGuard.h b/src/Common/SettingsCategoryGuard.h index a84b129f..e2159304 100644 --- a/src/Common/SettingsCategoryGuard.h +++ b/src/Common/SettingsCategoryGuard.h @@ -20,6 +20,8 @@ along with this program. If not, see . */ +#pragma once + #include namespace Common { diff --git a/src/Gui/ComposerAttachmentsList.h b/src/Gui/ComposerAttachmentsList.h index 162f6428..17907581 100644 --- a/src/Gui/ComposerAttachmentsList.h +++ b/src/Gui/ComposerAttachmentsList.h @@ -20,6 +20,8 @@ along with this program. If not, see . */ +#pragma once + #include #include #include diff --git a/src/Gui/ComposerTextEdit.h b/src/Gui/ComposerTextEdit.h index 81356f2e..ef1be8c5 100644 --- a/src/Gui/ComposerTextEdit.h +++ b/src/Gui/ComposerTextEdit.h @@ -20,6 +20,8 @@ along with this program. If not, see . */ +#pragma once + class QTimer; #include -- 2.11.4.GIT