[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
@ -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…
Reference in New Issue
Block a user