Skip to content

Commit

Permalink
UI|Home: Tweaked package Info popup contents
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Jul 2, 2016
1 parent b291c46 commit fad0f2e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions doomsday/apps/client/src/ui/widgets/packagepopupwidget.cpp
Expand Up @@ -65,6 +65,11 @@ bool PackagePopupWidget::setup(File const *file)
msg += "\n" _E(l) "Author(s): " _E(.)_E(>) + meta.gets("author") + _E(<);
}

if (meta.has("notes"))
{
msg += "\n\n" + meta.gets("notes") + "\n";
}

if (meta.has("requires"))
{
msg += "\n" _E(l) "Requires:" _E(.);
Expand All @@ -85,11 +90,6 @@ bool PackagePopupWidget::setup(File const *file)
}
}

if (meta.has("notes"))
{
msg += "\n\n" + meta.gets("notes");
}

document().setText(msg);
return true;
}
Expand Down
2 changes: 1 addition & 1 deletion doomsday/apps/client/src/ui/widgets/packageswidget.cpp
Expand Up @@ -377,7 +377,7 @@ DENG_GUI_PIMPL(PackagesWidget)

if (!item.info) return false;

bool const hidden = Package::tags(item.info->gets(VAR_TAGS)).contains(TAG_HIDDEN);
bool const hidden = Package::matchTags(*item.file, QStringLiteral("\\bhidden\\b"));
if (showHidden ^ hidden)
{
return false;
Expand Down

0 comments on commit fad0f2e

Please sign in to comment.