fix: properly emit aborted instead of failed

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Octol1ttle 2026-02-02 16:37:30 +05:00
parent 625f0060a1
commit 7bcd2dd768
No known key found for this signature in database
GPG key ID: B77C34313AEE1FFF
9 changed files with 11 additions and 11 deletions

View file

@ -244,7 +244,7 @@ bool AutoInstallJava::abort()
{
if (m_current_task && m_current_task->canAbort()) {
auto status = m_current_task->abort();
emitFailed("Aborted.");
emitAborted();
return status;
}
return Task::abort();