fix: Remove Unused Include Directives (#4266)

* fix: remove unused includes

* fix: bad includes

* fix: top include

* fix: streamer mode includes

* fix: missing include

* fix: remove `#else`

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
nerix
2022-12-27 21:26:32 +01:00
committed by GitHub
parent b2a8327696
commit 757c7c781e
6 changed files with 18 additions and 28 deletions
+5 -5
View File
@@ -1,4 +1,4 @@
#include "StreamerMode.hpp"
#include "util/StreamerMode.hpp"
#include "Application.hpp"
#include "common/QLogging.hpp"
@@ -11,18 +11,18 @@
#include "widgets/splits/Split.hpp"
#include "widgets/Window.hpp"
#include <QProcess>
#ifdef USEWINSDK
// clang-format off
// These imports cannot be ordered alphabetically.
# include <Windows.h>
# include <VersionHelpers.h>
# include <WtsApi32.h>
# pragma comment(lib, "Wtsapi32.lib")
// clang-format on
# pragma comment(lib, "Wtsapi32.lib")
#endif
#include <QProcess>
namespace chatterino {
constexpr int cooldownInS = 10;
+1 -3
View File
@@ -2,10 +2,8 @@
#ifdef USEWINSDK
// clang-format off
# include <Windows.h>
# include <boost/optional.hpp>
// clang-format on
# include <Windows.h>
namespace chatterino {