code quality cleanup

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
Rachel Powers
2022-10-30 22:42:35 -07:00
parent d2f3dbaa29
commit fda2c116be
5 changed files with 15 additions and 16 deletions

View File

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