From c46bfe05c1c8ab6e198cd9b29b36dd813eb37dd8 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Mon, 19 Dec 2022 13:32:39 +0100 Subject: [PATCH] Remove duplicate headers between cpp/h files --- src/actionshandler.cpp | 3 +-- src/chatdocumenthandler.cpp | 2 -- src/collapsestateproxymodel.cpp | 1 - src/completionmodel.cpp | 1 - src/controller.cpp | 1 - src/login.cpp | 2 -- src/neochatroom.cpp | 1 - src/notificationsmanager.cpp | 1 - src/runner.cpp | 1 - 9 files changed, 1 insertion(+), 12 deletions(-) diff --git a/src/actionshandler.cpp b/src/actionshandler.cpp index a5ad8138e..3c296bfc1 100644 --- a/src/actionshandler.cpp +++ b/src/actionshandler.cpp @@ -17,9 +17,8 @@ #include "controller.h" #include "customemojimodel.h" #include "neochatconfig.h" -#include "neochatroom.h" -#include "roommanager.h" #include "neochatuser.h" +#include "roommanager.h" using namespace Quotient; diff --git a/src/chatdocumenthandler.cpp b/src/chatdocumenthandler.cpp index 6526a0476..134a4efa4 100644 --- a/src/chatdocumenthandler.cpp +++ b/src/chatdocumenthandler.cpp @@ -5,7 +5,6 @@ #include #include -#include #include #include #include @@ -16,7 +15,6 @@ #include #include "actionsmodel.h" -#include "completionmodel.h" #include "neochatroom.h" #include "roomlistmodel.h" diff --git a/src/collapsestateproxymodel.cpp b/src/collapsestateproxymodel.cpp index 92917cdb6..87a12212a 100644 --- a/src/collapsestateproxymodel.cpp +++ b/src/collapsestateproxymodel.cpp @@ -2,7 +2,6 @@ // SPDX-License-Identifier: LGPL-2.0-or-later #include "collapsestateproxymodel.h" -#include "messageeventmodel.h" #include diff --git a/src/completionmodel.cpp b/src/completionmodel.cpp index cf65c4f30..7572f573e 100644 --- a/src/completionmodel.cpp +++ b/src/completionmodel.cpp @@ -10,7 +10,6 @@ #include "customemojimodel.h" #include "emojimodel.h" #include "neochatroom.h" -#include "roomlistmodel.h" #include "userlistmodel.h" CompletionModel::CompletionModel(QObject *parent) diff --git a/src/controller.cpp b/src/controller.cpp index 0e5ca69c8..deca40e98 100644 --- a/src/controller.cpp +++ b/src/controller.cpp @@ -19,7 +19,6 @@ #include #include #include -#include #include #include #include diff --git a/src/login.cpp b/src/login.cpp index fe60f4aa4..37dca19c8 100644 --- a/src/login.cpp +++ b/src/login.cpp @@ -14,8 +14,6 @@ #include "controller.h" -#include - #include using namespace Quotient; diff --git a/src/neochatroom.cpp b/src/neochatroom.cpp index 312a3f0f2..361ddeb0f 100644 --- a/src/neochatroom.cpp +++ b/src/neochatroom.cpp @@ -14,7 +14,6 @@ #include #include -#include #include #include diff --git a/src/notificationsmanager.cpp b/src/notificationsmanager.cpp index ee1a544ac..51f322a99 100644 --- a/src/notificationsmanager.cpp +++ b/src/notificationsmanager.cpp @@ -5,7 +5,6 @@ #include -#include #include #include diff --git a/src/runner.cpp b/src/runner.cpp index 17892e8f8..1adee90e8 100644 --- a/src/runner.cpp +++ b/src/runner.cpp @@ -7,7 +7,6 @@ #include "controller.h" #include "neochatroom.h" -#include "roomlistmodel.h" #include "roommanager.h" #include "windowcontroller.h"