diff options
author | Alexia <alexia@robotbrain.info> | 2016-03-28 16:45:52 -0400 |
---|---|---|
committer | Alexia <alexia@robotbrain.info> | 2016-03-28 16:45:52 -0400 |
commit | ea685651a1af4ae4d4beee8f6fcf273c9a7c32bf (patch) | |
tree | 978c10940fec7b628123e9328d822f07a8f842c9 /logic/BaseInstance.cpp | |
parent | 53b4bd019fe6b34559da1ce9c92533c9f79301ac (diff) | |
download | MultiMC-ea685651a1af4ae4d4beee8f6fcf273c9a7c32bf.tar MultiMC-ea685651a1af4ae4d4beee8f6fcf273c9a7c32bf.tar.gz MultiMC-ea685651a1af4ae4d4beee8f6fcf273c9a7c32bf.tar.lz MultiMC-ea685651a1af4ae4d4beee8f6fcf273c9a7c32bf.tar.xz MultiMC-ea685651a1af4ae4d4beee8f6fcf273c9a7c32bf.zip |
NOISSUE Quick fix for icons being required
Diffstat (limited to 'logic/BaseInstance.cpp')
-rw-r--r-- | logic/BaseInstance.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/logic/BaseInstance.cpp b/logic/BaseInstance.cpp index 53e4ca6b..f8530c9d 100644 --- a/logic/BaseInstance.cpp +++ b/logic/BaseInstance.cpp @@ -35,7 +35,10 @@ BaseInstance::BaseInstance(SettingsObjectPtr globalSettings, SettingsObjectPtr s m_settings->registerSetting("name", "Unnamed Instance"); m_settings->registerSetting("iconKey", "default"); - connect(ENV.icons().get(), SIGNAL(iconUpdated(QString)), SLOT(iconUpdated(QString))); + if (ENV.hasIcons()) + { + connect(ENV.icons().get(), SIGNAL(iconUpdated(QString)), SLOT(iconUpdated(QString))); + } m_settings->registerSetting("notes", ""); m_settings->registerSetting("lastLaunchTime", 0); m_settings->registerSetting("totalTimePlayed", 0); |