icon -> iconName

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad 2023-08-02 20:32:23 +01:00
parent afaf6f894c
commit 1bafa36c17
No known key found for this signature in database
GPG Key ID: 5E39D70B4C93C38E

View File

@ -33,11 +33,11 @@
class InstallLoaderPage : public VersionSelectWidget, public BasePage { class InstallLoaderPage : public VersionSelectWidget, public BasePage {
public: public:
InstallLoaderPage(const QString& id, InstallLoaderPage(const QString& id,
const QString& icon, const QString& iconName,
const QString& name, const QString& name,
const Version& oldestVersion, const Version& oldestVersion,
const std::shared_ptr<PackProfile> profile) const std::shared_ptr<PackProfile> profile)
: VersionSelectWidget(nullptr), uid(id), iconName(icon), name(name) : VersionSelectWidget(nullptr), uid(id), iconName(iconName), name(name)
{ {
const QString minecraftVersion = profile->getComponentVersion("net.minecraft"); const QString minecraftVersion = profile->getComponentVersion("net.minecraft");
setEmptyString(tr("No versions are currently available for Minecraft %1").arg(minecraftVersion)); setEmptyString(tr("No versions are currently available for Minecraft %1").arg(minecraftVersion));