Allow Moderators/Admins to Grant Replay Access

- Only to themselves, at this time
- Automatically refreshes feed, no need to re-login
This commit is contained in:
ZeldaZach 2024-12-27 17:00:33 -05:00
parent 17893d9747
commit 3524231500
No known key found for this signature in database
7 changed files with 129 additions and 6 deletions

View file

@ -27,7 +27,7 @@ private:
Node(const QString &_name) : name(_name)
{
}
virtual ~Node(){};
virtual ~Node() {};
QString getName() const
{
return name;
@ -115,7 +115,9 @@ public:
ServerInfo_ReplayMatch const *getReplayMatch(const QModelIndex &ind) const;
QList<ServerInfo_Replay const *> getSelectedReplays() const;
QSet<ServerInfo_ReplayMatch const *> getSelectedReplayMatches() const;
void refreshTree();
void refreshTree() {
treeModel->refreshTree();
}
void addMatchInfo(const ServerInfo_ReplayMatch &matchInfo)
{
treeModel->addMatchInfo(matchInfo);