Rework icons (Fabric is blurry now but looks better)

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad
2023-06-20 19:57:15 +01:00
parent a389983d7d
commit 94510edd72
10 changed files with 150 additions and 79 deletions

View File

@ -42,7 +42,7 @@ class LoaderPage : public VersionSelectWidget, public BasePage {
: VersionSelectWidget(parent), m_id(std::move(id)), m_icon(std::move(icon)), m_name(std::move(name))
{
const QString minecraftVersion = profile->getComponentVersion("net.minecraft");
setEmptyErrorString(tr("No versions are currently available for Minecraft %1").arg(minecraftVersion));
setEmptyString(tr("No versions are currently available for Minecraft %1").arg(minecraftVersion));
if (!lightweight)
setExactFilter(BaseVersionList::ParentVersionRole, minecraftVersion);
@ -108,11 +108,11 @@ InstallLoaderDialog::InstallLoaderDialog(std::shared_ptr<PackProfile> profile, Q
QList<BasePage*> InstallLoaderDialog::getPages()
{
return { // Forge
new LoaderPage("net.minecraftforge", "forge-loader", tr("Forge"), false, m_profile, this),
new LoaderPage("net.minecraftforge", "forge", tr("Forge"), false, m_profile, this),
// Fabric
new LoaderPage("net.fabricmc.fabric-loader", "fabric-loader", tr("Fabric"), true, m_profile, this),
new LoaderPage("net.fabricmc.fabric-loader", "fabricmc-small", tr("Fabric"), true, m_profile, this),
// Quilt
new LoaderPage("org.quiltmc.quilt-loader", "quilt-loader", tr("Quilt"), true, m_profile, this),
new LoaderPage("org.quiltmc.quilt-loader", "quiltmc", tr("Quilt"), true, m_profile, this),
// LiteLoader
new LoaderPage("com.mumfrey.liteloader", "liteloader", tr("LiteLoader"), false, m_profile, this)
};