From 09673cc16e73a5b126bdfd13e305c25c0ff993c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 24 May 2015 19:48:22 +0200 Subject: [PATCH] GH-977 Initialize FTB icon properly (iconKey vs logo), remove debug prints --- logic/ftb/FTBPlugin.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/logic/ftb/FTBPlugin.cpp b/logic/ftb/FTBPlugin.cpp index ffac46f7..ea663bab 100644 --- a/logic/ftb/FTBPlugin.cpp +++ b/logic/ftb/FTBPlugin.cpp @@ -161,16 +161,12 @@ InstancePtr loadInstance(SettingsObjectPtr globalSettings, QMapinit(); qDebug() << "Init " << record.instanceDir; inst->setGroupInitial("FTB"); - qDebug() << "A " << record.instanceDir; inst->setName(record.name); - qDebug() << "B " << record.instanceDir; inst->setIconKey(record.iconKey); - qDebug() << "C " << record.instanceDir; if (inst->intendedVersionId() != record.mcVersion) { inst->setIntendedVersionId(record.mcVersion); } - qDebug() << "D " << record.instanceDir; inst->setNotes(record.description); qDebug() << "Post-Process " << record.instanceDir; if (!InstanceList::continueProcessInstance(inst, InstanceList::NoCreateError, record.instanceDir, groupMap)) @@ -222,7 +218,7 @@ InstancePtr createInstance(SettingsObjectPtr globalSettings, QMapsetGroupInitial("FTB"); inst->setName(record.name); - inst->setIconKey(record.logo); + inst->setIconKey(record.iconKey); inst->setIntendedVersionId(record.mcVersion); inst->setNotes(record.description); qDebug() << "Post-Process " << record.instanceDir;