Remove unneeded includes

This commit is contained in:
James Graham
2024-10-03 23:22:48 +01:00
parent 773017c881
commit 4af27f7609
5 changed files with 1 additions and 5 deletions

View File

@@ -7,7 +7,6 @@
#include "chatdocumenthandler.h" #include "chatdocumenthandler.h"
#include "eventhandler.h" #include "eventhandler.h"
#include "messagecontentmodel.h"
#include "neochatroom.h" #include "neochatroom.h"
ChatBarCache::ChatBarCache(QObject *parent) ChatBarCache::ChatBarCache(QObject *parent)

View File

@@ -48,7 +48,6 @@
#include "colorschemer.h" #include "colorschemer.h"
#include "controller.h" #include "controller.h"
#include "logger.h" #include "logger.h"
#include "neochatconfig.h"
#include "roommanager.h" #include "roommanager.h"
#include "sharehandler.h" #include "sharehandler.h"
#include "windowcontroller.h" #include "windowcontroller.h"

View File

@@ -6,8 +6,6 @@
#include <QAbstractListModel> #include <QAbstractListModel>
#include <QQmlEngine> #include <QQmlEngine>
#include "enums/neochatroomtype.h"
class NeoChatRoom; class NeoChatRoom;
namespace Quotient namespace Quotient

View File

@@ -518,6 +518,7 @@ QCoro::Task<void> NeoChatConnection::setupPushNotifications(QString endpoint)
qWarning() << "There's no gateway, not setting up push notifications."; qWarning() << "There's no gateway, not setting up push notifications.";
} }
#else #else
Q_UNUSED(endpoint)
co_return; co_return;
#endif #endif
} }

View File

@@ -11,7 +11,6 @@
#include "neochatconnection.h" #include "neochatconnection.h"
#include "neochatroom.h" #include "neochatroom.h"
#include "roomlistmodel.h"
using namespace Quotient; using namespace Quotient;