From 8365cb215bdd6490737d189f6e4b4562d77e9528 Mon Sep 17 00:00:00 2001 From: Loren Burkholder Date: Fri, 11 Aug 2023 22:14:27 -0400 Subject: [PATCH] Remove some unnecessary forward declarations and headers --- src/UserSettingsPage.h | 9 --------- src/encryption/VerificationManager.h | 1 - src/timeline/TimelineViewManager.h | 1 - 3 files changed, 11 deletions(-) diff --git a/src/UserSettingsPage.h b/src/UserSettingsPage.h index 4e2691e5..71eb039b 100644 --- a/src/UserSettingsPage.h +++ b/src/UserSettingsPage.h @@ -12,15 +12,6 @@ #include -class Toggle; -class QLabel; -class QFormLayout; -class QComboBox; -class QFontComboBox; -class QSpinBox; -class QHBoxLayout; -class QVBoxLayout; - class UserSettings final : public QObject { Q_OBJECT diff --git a/src/encryption/VerificationManager.h b/src/encryption/VerificationManager.h index cdc8af30..24e1a206 100644 --- a/src/encryption/VerificationManager.h +++ b/src/encryption/VerificationManager.h @@ -14,7 +14,6 @@ class DeviceVerificationFlow; class TimelineModel; -class TimelineModel; class TimelineViewManager; class RoomlistModel; diff --git a/src/timeline/TimelineViewManager.h b/src/timeline/TimelineViewManager.h index 53179b44..f3bd04a2 100644 --- a/src/timeline/TimelineViewManager.h +++ b/src/timeline/TimelineViewManager.h @@ -7,7 +7,6 @@ #include #include #include -#include #include #include