format the code

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97 2023-09-08 20:58:52 +03:00
parent 5d608fb8e4
commit defdaea5bf
No known key found for this signature in database
GPG Key ID: 55EF5DA53DB36318
4 changed files with 4 additions and 9 deletions

View File

@ -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();
}

View File

@ -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. */

View File

@ -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;

View File

@ -123,6 +123,4 @@ void INISettingsObject::removeValue(const Setting& setting)
for (auto iter : setting.configKeys())
m_ini.remove(iter);
doSave();
}