From effe4a54a8fa76b6380c6bd1f4f8baa5e557aca3 Mon Sep 17 00:00:00 2001 From: saturneric Date: Tue, 4 Feb 2025 16:27:13 +0100 Subject: [PATCH] chore: clean up code --- src/core/function/CacheManager.cpp | 1 - src/core/function/gpg/GpgAdvancedOperator.cpp | 2 -- src/core/function/gpg/GpgAutomatonHandler.cpp | 2 -- src/core/module/GlobalModuleContext.cpp | 1 - src/core/module/GlobalRegisterTable.cpp | 1 - src/core/module/ModuleManager.cpp | 1 - src/ui/UIModuleManager.cpp | 2 -- src/ui/UserInterfaceUtils.cpp | 1 - src/ui/dialog/KeyDatabaseEditDialog.cpp | 2 -- src/ui/struct/GpgOperaResultContext.cpp | 2 -- src/ui/thread/KeyServerImportTask.cpp | 2 -- src/ui/widgets/EMailEditorPage.h | 2 -- src/ui/widgets/KeyList.cpp | 1 - src/ui/widgets/TextEdit.cpp | 1 - 14 files changed, 21 deletions(-) diff --git a/src/core/function/CacheManager.cpp b/src/core/function/CacheManager.cpp index 5670819b..86a4678d 100644 --- a/src/core/function/CacheManager.cpp +++ b/src/core/function/CacheManager.cpp @@ -30,7 +30,6 @@ #include #include -#include #include "core/function/DataObjectOperator.h" #include "core/utils/MemoryUtils.h" diff --git a/src/core/function/gpg/GpgAdvancedOperator.cpp b/src/core/function/gpg/GpgAdvancedOperator.cpp index 590110e9..0b103c9b 100644 --- a/src/core/function/gpg/GpgAdvancedOperator.cpp +++ b/src/core/function/gpg/GpgAdvancedOperator.cpp @@ -32,8 +32,6 @@ #include "GpgAdvancedOperator.h" -#include - #include "core/function/gpg/GpgCommandExecutor.h" #include "core/module/ModuleManager.h" #include "core/utils/GpgUtils.h" diff --git a/src/core/function/gpg/GpgAutomatonHandler.cpp b/src/core/function/gpg/GpgAutomatonHandler.cpp index 9b318e02..352400a4 100644 --- a/src/core/function/gpg/GpgAutomatonHandler.cpp +++ b/src/core/function/gpg/GpgAutomatonHandler.cpp @@ -28,8 +28,6 @@ #include "GpgAutomatonHandler.h" -#include - #include "core/model/GpgData.h" #include "core/model/GpgKey.h" #include "core/utils/GpgUtils.h" diff --git a/src/core/module/GlobalModuleContext.cpp b/src/core/module/GlobalModuleContext.cpp index 043117e8..fd530432 100644 --- a/src/core/module/GlobalModuleContext.cpp +++ b/src/core/module/GlobalModuleContext.cpp @@ -31,7 +31,6 @@ #include #include #include -#include #include "core/module/Event.h" #include "core/module/Module.h" diff --git a/src/core/module/GlobalRegisterTable.cpp b/src/core/module/GlobalRegisterTable.cpp index 4dc6bc7d..6d83c2fb 100644 --- a/src/core/module/GlobalRegisterTable.cpp +++ b/src/core/module/GlobalRegisterTable.cpp @@ -31,7 +31,6 @@ #include #include #include -#include #include #include "GlobalRegisterTableTreeModel.h" diff --git a/src/core/module/ModuleManager.cpp b/src/core/module/ModuleManager.cpp index 0f6a280a..10c39eb6 100644 --- a/src/core/module/ModuleManager.cpp +++ b/src/core/module/ModuleManager.cpp @@ -29,7 +29,6 @@ #include "ModuleManager.h" #include -#include #include "core/function/GlobalSettingStation.h" #include "core/function/SecureMemoryAllocator.h" diff --git a/src/ui/UIModuleManager.cpp b/src/ui/UIModuleManager.cpp index b172892a..8dd9dca9 100644 --- a/src/ui/UIModuleManager.cpp +++ b/src/ui/UIModuleManager.cpp @@ -28,8 +28,6 @@ #include "UIModuleManager.h" -#include - #include "core/module/ModuleManager.h" #include "core/utils/CommonUtils.h" diff --git a/src/ui/UserInterfaceUtils.cpp b/src/ui/UserInterfaceUtils.cpp index 6ff044f0..22752a19 100644 --- a/src/ui/UserInterfaceUtils.cpp +++ b/src/ui/UserInterfaceUtils.cpp @@ -29,7 +29,6 @@ #include "UserInterfaceUtils.h" #include -#include #include "core/GpgConstants.h" #include "core/function/CoreSignalStation.h" diff --git a/src/ui/dialog/KeyDatabaseEditDialog.cpp b/src/ui/dialog/KeyDatabaseEditDialog.cpp index 3fb444b8..a4744c85 100644 --- a/src/ui/dialog/KeyDatabaseEditDialog.cpp +++ b/src/ui/dialog/KeyDatabaseEditDialog.cpp @@ -28,8 +28,6 @@ #include "KeyDatabaseEditDialog.h" -#include - #include "core/function/GlobalSettingStation.h" #include "core/struct/settings_object/KeyDatabaseItemSO.h" #include "core/utils/MemoryUtils.h" diff --git a/src/ui/struct/GpgOperaResultContext.cpp b/src/ui/struct/GpgOperaResultContext.cpp index b01f8788..d4911d40 100644 --- a/src/ui/struct/GpgOperaResultContext.cpp +++ b/src/ui/struct/GpgOperaResultContext.cpp @@ -28,8 +28,6 @@ #include "GpgOperaResultContext.h" -#include - namespace GpgFrontend::UI { GpgOperaContext::GpgOperaContext(QSharedPointer base) diff --git a/src/ui/thread/KeyServerImportTask.cpp b/src/ui/thread/KeyServerImportTask.cpp index a7e0c339..d6450e83 100644 --- a/src/ui/thread/KeyServerImportTask.cpp +++ b/src/ui/thread/KeyServerImportTask.cpp @@ -28,8 +28,6 @@ #include "ui/thread/KeyServerImportTask.h" -#include - #include "core/function/gpg/GpgKeyImportExporter.h" #include "core/model/SettingsObject.h" #include "core/utils/BuildInfoUtils.h" diff --git a/src/ui/widgets/EMailEditorPage.h b/src/ui/widgets/EMailEditorPage.h index a5eb6f50..d22bcb9d 100644 --- a/src/ui/widgets/EMailEditorPage.h +++ b/src/ui/widgets/EMailEditorPage.h @@ -28,8 +28,6 @@ #pragma once -#include - #include "ui/GpgFrontendUI.h" #include "ui/widgets/PlainTextEditorPage.h" diff --git a/src/ui/widgets/KeyList.cpp b/src/ui/widgets/KeyList.cpp index 4e581d81..877b5326 100644 --- a/src/ui/widgets/KeyList.cpp +++ b/src/ui/widgets/KeyList.cpp @@ -29,7 +29,6 @@ #include "ui/widgets/KeyList.h" #include -#include #include "core/function/GlobalSettingStation.h" #include "core/function/gpg/GpgKeyGetter.h" diff --git a/src/ui/widgets/TextEdit.cpp b/src/ui/widgets/TextEdit.cpp index 219f1447..842bb9d6 100644 --- a/src/ui/widgets/TextEdit.cpp +++ b/src/ui/widgets/TextEdit.cpp @@ -30,7 +30,6 @@ #include #include -#include #include "core/GpgModel.h" #include "ui/dialog/QuitDialog.h"