Massage includes some more (#4294)

* Add `<functional>` include to QStringHash.hpp

This ensures the base `std::hash` template is declared before this
specialization

* Add missing includes to `src/providers/twitch/TwitchAccountManager.hpp`

* Move explicit HelixChatters constructor to the source file

* Remove unused includes & add used includes to NicknamesModel.hpp

* NicknamesModel.hpp: Remove `virtual` when `override` is used

* Add missing QStringHash include to TwitchEmotes.cpp

* Add missing includes to various files

* Print Qt version in cmake step

Technically unrelated, but I'm sneaking it in

* Add changelog entry
This commit is contained in:
pajlada
2023-01-08 13:07:06 +01:00
committed by GitHub
parent c0f0a7e555
commit 18cb4bd6e5
18 changed files with 43 additions and 22 deletions
@@ -1,9 +1,6 @@
#include "controllers/nicknames/NicknamesModel.hpp"
#include "Application.hpp"
#include "controllers/nicknames/Nickname.hpp"
#include "providers/twitch/api/Helix.hpp"
#include "singletons/Settings.hpp"
#include "util/StandardItemHelper.hpp"
namespace chatterino {
+6 -4
View File
@@ -4,6 +4,8 @@
#include <QObject>
#include <vector>
namespace chatterino {
class Nickname;
@@ -15,12 +17,12 @@ public:
protected:
// turn a vector item into a model row
virtual Nickname getItemFromRow(std::vector<QStandardItem *> &row,
const Nickname &original) override;
Nickname getItemFromRow(std::vector<QStandardItem *> &row,
const Nickname &original) override;
// turns a row in the model into a vector item
virtual void getRowFromItem(const Nickname &item,
std::vector<QStandardItem *> &row) override;
void getRowFromItem(const Nickname &item,
std::vector<QStandardItem *> &row) override;
};
} // namespace chatterino