Skip to content

Commit

Permalink
Add includes so Chatterino compiles without PCH (Chatterino#3308)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mm2PL authored Oct 26, 2021
1 parent 4a90f10 commit c33efab
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/common/Args.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <QApplication>
#include <QCommandLineParser>
#include <QDebug>
#include <QRegularExpression>
#include <QStringList>
#include <QUuid>

Expand Down
1 change: 1 addition & 0 deletions src/common/Common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <QWidget>
#include <boost/optional.hpp>
#include <boost/preprocessor.hpp>
#include <memory>
#include <string>

#include "common/Aliases.hpp"
Expand Down
4 changes: 3 additions & 1 deletion src/widgets/AttachedWindow.cpp
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
#include "AttachedWindow.hpp"

#include "Application.hpp"
#include "ForwardDecl.hpp"
#include "common/QLogging.hpp"
#include "singletons/Settings.hpp"
#include "util/DebugCount.hpp"
#include "widgets/splits/Split.hpp"

#include <QTimer>
#include <QVBoxLayout>
#include "common/QLogging.hpp"
#include <memory>

#ifdef USEWINSDK
# include "util/WindowsHelper.hpp"
Expand Down
3 changes: 3 additions & 0 deletions src/widgets/AttachedWindow.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
#pragma once

#include "ForwardDecl.hpp"

#include <QTimer>
#include <QWidget>
#include <memory>

namespace chatterino {

Expand Down
1 change: 1 addition & 0 deletions src/widgets/dialogs/BadgePickerDialog.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include <QComboBox>
#include <QDialog>
#include <boost/optional.hpp>
#include <memory>

namespace chatterino {

Expand Down
1 change: 1 addition & 0 deletions src/widgets/listview/GenericListModel.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include <QAbstractListModel>
#include <QWidget>
#include <memory>

namespace chatterino {

Expand Down

0 comments on commit c33efab

Please sign in to comment.