Skip to content

Commit

Permalink
Move Changelog filtering to UI
Browse files Browse the repository at this point in the history
  • Loading branch information
emesare committed Dec 30, 2024
1 parent 80fee0a commit 958c87b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ui/updateinfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ class BINARYNINJAUIAPI UpdateInfoFetcher : public QObject
QString author;
QString commit;
QString body;
ChangelogEntryItem(const QString& author = "", const QString& commit = "", const QString& body = "")
: author(author), commit(commit), body(body) {};
bool isHidden = false;
ChangelogEntryItem(const QString& author = "", const QString& commit = "", const QString& body = "", const bool isHidden = false)
: author(author), commit(commit), body(body), isHidden(isHidden) {};
/// In-struct cache for wrapped text
mutable QString bodyWrapCache;
};
Expand Down Expand Up @@ -65,6 +66,7 @@ class BINARYNINJAUIAPI UpdateInfoFetcher : public QObject
void startFetch();
const std::vector<Channel>& getChannels();
const Channel* getActiveChannel();
std::vector<ChangelogEntry> getFilteredChangelog();
signals:
void fetchCompleted(const FetchError& error);
};

0 comments on commit 958c87b

Please sign in to comment.