diff --git a/src/UserSettingsPage.h b/src/UserSettingsPage.h
index 4e2691e50f27e92ca2920956c28f263634ce08f2..71eb039b80522c05d859ab3594a5ffe212361ff8 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 cdc8af3062385c6f2879e1205b1121e4abff1579..24e1a20612a3aa001c85e4260d246f54a1b1f975 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 53179b44daf59da47c9b3d7dc67c30ed6f07c70b..f3bd04a28beb1748cf660a397419d5759b54f0ee 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>