Skip to content

Commit

Permalink
Model: Pull changelogs from the package infos
Browse files Browse the repository at this point in the history
  • Loading branch information
stippi committed Sep 25, 2015
1 parent 17dd011 commit da16a92
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/apps/haikudepot/model/Model.cpp
Expand Up @@ -1189,6 +1189,13 @@ Model::_PopulatePackageInfo(const PackageInfoRef& package, const BMessage& data)

append_word_list(foundInfo, "prominence");
}

BString changelog;
if (data.FindString("pkgChangelogContent", &changelog) == B_OK) {
package->SetChangelog(changelog);

append_word_list(foundInfo, "changelog");
}

BMessage screenshots;
if (data.FindMessage("pkgScreenshots", &screenshots) == B_OK) {
Expand Down

0 comments on commit da16a92

Please sign in to comment.