This subtle bug would lead to weird behavior of QComboBox on Windows. Reviewed-by: kh1
This is necessary in case there is no run configuration (e.g. for library projects).