aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/modpacksch
diff options
context:
space:
mode:
authorRachel Powers <508861+Ryex@users.noreply.github.com>2022-10-30 22:42:35 -0700
committerRachel Powers <508861+Ryex@users.noreply.github.com>2022-11-01 04:24:11 -0700
commitfda2c116bef33df2ca49d77ff4b016e724f47549 (patch)
tree6d3dc177d5349ba85b8909c10e5bcc2e0fb44a03 /launcher/modplatform/modpacksch
parentd2f3dbaa2984b70a71e5fb1b246a31987a6fdf10 (diff)
downloadPrismLauncher-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.cpp2
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();