connected failed event for some tasks
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
0880d4d37b
commit
a7e0c9db96
11 changed files with 63 additions and 31 deletions
|
@ -148,6 +148,7 @@ void EnsureMetadataTask::executeTask()
|
|||
if (m_current_task)
|
||||
m_current_task.reset();
|
||||
});
|
||||
connect(project_task.get(), &Task::failed, this, &EnsureMetadataTask::emitFailed);
|
||||
|
||||
m_current_task = project_task;
|
||||
project_task->start();
|
||||
|
@ -158,6 +159,7 @@ void EnsureMetadataTask::executeTask()
|
|||
if (m_current_task)
|
||||
m_current_task.reset();
|
||||
});
|
||||
connect(version_task.get(), &Task::failed, this, &EnsureMetadataTask::emitFailed);
|
||||
|
||||
if (m_mods.size() > 1)
|
||||
setStatus(tr("Requesting metadata information from %1...").arg(ProviderCaps.readableName(m_provider)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue