Replace chopped by mid in download list. (#2089)

This commit is contained in:
Mikaël Capelle 2024-08-03 13:37:39 +02:00 committed by GitHub
parent 89f39ef200
commit ea38fdc6ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -221,7 +221,7 @@ QVariant DownloadList::data(const QModelIndex& index, int role) const
.arg(info->modName)
.arg(m_manager.getModID(index.row()))
.arg(info->version.canonicalString())
.arg(info->description.chopped(4096));
.arg(info->description.mid(0, 4096));
}
return text;
}