format the code
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
5d608fb8e4
commit
defdaea5bf
@ -200,7 +200,7 @@ void MinecraftInstance::loadSpecificSettings()
|
||||
// Use account for instance, this does not have a global override
|
||||
m_settings->registerSetting("UseAccountForInstance", false);
|
||||
m_settings->registerSetting("InstanceAccountId", "");
|
||||
|
||||
|
||||
// Mod group settings
|
||||
m_settings->registerSetting("Mods/UpdateIgnoreList", QVariantList({}));
|
||||
|
||||
@ -213,7 +213,7 @@ void MinecraftInstance::loadSpecificSettings()
|
||||
qDebug() << "Instance-type specific settings were loaded!";
|
||||
|
||||
setSpecificSettingsLoaded(true);
|
||||
|
||||
|
||||
updateRuntimeContext();
|
||||
}
|
||||
|
||||
|
@ -22,10 +22,7 @@ class ResourcePack : public Resource {
|
||||
ResourcePack(QObject* parent = nullptr) : Resource(parent) {}
|
||||
ResourcePack(QFileInfo file_info) : Resource(file_info) {}
|
||||
ResourcePack(ResourcePack& rp)
|
||||
: Resource(rp)
|
||||
, m_pack_format(rp.m_pack_format)
|
||||
, m_description(rp.m_description)
|
||||
, m_pack_image_cache_key(rp.m_pack_image_cache_key)
|
||||
: Resource(rp), m_pack_format(rp.m_pack_format), m_description(rp.m_description), m_pack_image_cache_key(rp.m_pack_image_cache_key)
|
||||
{}
|
||||
|
||||
/** Gets the numerical ID of the pack format. */
|
||||
|
@ -126,7 +126,7 @@ void FlameCheckUpdate::executeTask()
|
||||
emit checkFailed(mod, tr("Disabled mods won't be updated, to prevent mod duplication issues!"));
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
if (m_blacklist.contains(mod->name())) {
|
||||
qDebug() << "Ignoring" << mod->fileinfo().fileName() << "Because it is in blacklist";
|
||||
continue;
|
||||
|
@ -123,6 +123,4 @@ void INISettingsObject::removeValue(const Setting& setting)
|
||||
for (auto iter : setting.configKeys())
|
||||
m_ini.remove(iter);
|
||||
doSave();
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user