summaryrefslogtreecommitdiffstats
path: root/logic/ftb
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-02-01 11:44:47 +0100
committerPetr Mrázek <peterix@gmail.com>2015-04-12 20:57:16 +0200
commitaa70ed2244700dbcc93c1fadb22edc1c1caede37 (patch)
tree79fc6703e984edc4d631be8c6f40c71400f88aba /logic/ftb
parent154d19bb74f4c5fc1519aa40cd9dfd20244273a1 (diff)
downloadMultiMC-aa70ed2244700dbcc93c1fadb22edc1c1caede37.tar
MultiMC-aa70ed2244700dbcc93c1fadb22edc1c1caede37.tar.gz
MultiMC-aa70ed2244700dbcc93c1fadb22edc1c1caede37.tar.lz
MultiMC-aa70ed2244700dbcc93c1fadb22edc1c1caede37.tar.xz
MultiMC-aa70ed2244700dbcc93c1fadb22edc1c1caede37.zip
SCRATCH move icons over to Env, instance proxy model to gui
Diffstat (limited to 'logic/ftb')
-rw-r--r--logic/ftb/FTBPlugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/ftb/FTBPlugin.cpp b/logic/ftb/FTBPlugin.cpp
index d524e3fd..1e9d9123 100644
--- a/logic/ftb/FTBPlugin.cpp
+++ b/logic/ftb/FTBPlugin.cpp
@@ -212,7 +212,7 @@ void FTBPlugin::loadInstances(QMap<QString, QString> &groupMap, QList<InstancePt
qDebug() << "Loading FTB instance from " << record.instanceDir;
QString iconKey = record.logo;
iconKey.remove(QRegularExpression("\\..*"));
- MMC->icons()->addIcon(iconKey, iconKey, PathCombine(record.templateDir, record.logo),
+ ENV.icons()->addIcon(iconKey, iconKey, PathCombine(record.templateDir, record.logo),
MMCIcon::Transient);
if (!QFileInfo(PathCombine(record.instanceDir, "instance.cfg")).exists())