mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-30 10:55:37 -04:00
[libcalamaresui] Handle no-requirements-to-check case
- If there's no requirements at all, none of the watchers will call finished(), so do it once extra.
This commit is contained in:
parent
987cf36f51
commit
40a7082bfc
1 changed files with 2 additions and 0 deletions
|
@ -92,6 +92,8 @@ RequirementsChecker::run()
|
||||||
m_watchers.append( watcher );
|
m_watchers.append( watcher );
|
||||||
connect( watcher, &Watcher::finished, this, &RequirementsChecker::finished );
|
connect( watcher, &Watcher::finished, this, &RequirementsChecker::finished );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QTimer::singleShot( 0, this, &RequirementsChecker::finished );
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue