diff options
author | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2022-10-30 22:42:35 -0700 |
---|---|---|
committer | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2022-11-01 04:24:11 -0700 |
commit | fda2c116bef33df2ca49d77ff4b016e724f47549 (patch) | |
tree | 6d3dc177d5349ba85b8909c10e5bcc2e0fb44a03 /launcher/modplatform/modpacksch | |
parent | d2f3dbaa2984b70a71e5fb1b246a31987a6fdf10 (diff) | |
download | PrismLauncher-fda2c116bef33df2ca49d77ff4b016e724f47549.tar.gz PrismLauncher-fda2c116bef33df2ca49d77ff4b016e724f47549.tar.bz2 PrismLauncher-fda2c116bef33df2ca49d77ff4b016e724f47549.zip |
code quality cleanup
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'launcher/modplatform/modpacksch')
-rw-r--r-- | launcher/modplatform/modpacksch/FTBPackInstallTask.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/modplatform/modpacksch/FTBPackInstallTask.cpp b/launcher/modplatform/modpacksch/FTBPackInstallTask.cpp index 49fbafd6..5091db0c 100644 --- a/launcher/modplatform/modpacksch/FTBPackInstallTask.cpp +++ b/launcher/modplatform/modpacksch/FTBPackInstallTask.cpp @@ -326,7 +326,7 @@ void PackInstallTask::downloadPack() void PackInstallTask::onModDownloadSucceeded() { m_net_job.reset(); - if (m_blocked_mods.length() > 0) { + if (!m_blocked_mods.isEmpty()) { copyBlockedMods(); } emitSucceeded(); |