[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:
Adriaan de Groot 2019-02-25 07:15:51 -05:00
parent 987cf36f51
commit 40a7082bfc

View File

@ -92,6 +92,8 @@ RequirementsChecker::run()
m_watchers.append( watcher );
connect( watcher, &Watcher::finished, this, &RequirementsChecker::finished );
}
QTimer::singleShot( 0, this, &RequirementsChecker::finished );
}
void