summary refs log tree commit diff
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2023-08-11 22:14:27 -0400
committerLoren Burkholder <computersemiexpert@outlook.com>2023-08-11 22:14:27 -0400
commit8365cb215bdd6490737d189f6e4b4562d77e9528 (patch)
tree02087c8b50dde5e05673c283fabed0bef0a38285
parentMerge pull request #1535 from Nheko-Reborn/powerlevelsInTimeline (diff)
downloadnheko-8365cb215bdd6490737d189f6e4b4562d77e9528.tar.xz
Remove some unnecessary forward declarations and headers
-rw-r--r--src/UserSettingsPage.h9
-rw-r--r--src/encryption/VerificationManager.h1
-rw-r--r--src/timeline/TimelineViewManager.h1
3 files changed, 0 insertions, 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 <optional>
 
-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 <QHash>
 #include <QQuickItem>
 #include <QQuickTextDocument>
-#include <QWidget>
 
 #include <mtx/common.hpp>
 #include <mtx/responses/messages.hpp>