summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-03-17 01:48:54 +0100
committerPetr Mrázek <peterix@gmail.com>2017-04-07 00:20:01 +0200
commit0060b506257b906d40ef53d1e23404dba76afcee (patch)
tree19060c5a8d6525bbed6a91afa249a17e678e37fa /application
parent40cf38bc3225c614e7e81d074f890e6f9da0507b (diff)
downloadMultiMC-0060b506257b906d40ef53d1e23404dba76afcee.tar
MultiMC-0060b506257b906d40ef53d1e23404dba76afcee.tar.gz
MultiMC-0060b506257b906d40ef53d1e23404dba76afcee.tar.lz
MultiMC-0060b506257b906d40ef53d1e23404dba76afcee.tar.xz
MultiMC-0060b506257b906d40ef53d1e23404dba76afcee.zip
NOISSUE simplify.
Diffstat (limited to 'application')
-rw-r--r--application/pages/global/PackagesPage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/pages/global/PackagesPage.cpp b/application/pages/global/PackagesPage.cpp
index 52efaf9a..81ad4da1 100644
--- a/application/pages/global/PackagesPage.cpp
+++ b/application/pages/global/PackagesPage.cpp
@@ -36,7 +36,7 @@ static QString formatRequires(const VersionPtr &version)
QStringList lines;
for (const Reference &ref : version->requires())
{
- const QString readable = ENV.metadataIndex()->hasUid(ref.uid()) ? ENV.metadataIndex()->getList(ref.uid())->humanReadable() : ref.uid();
+ const QString readable = ENV.metadataIndex()->hasUid(ref.uid()) ? ENV.metadataIndex()->get(ref.uid())->humanReadable() : ref.uid();
if (ref.version().isEmpty())
{
lines.append(readable);