This is probably trying to solve some problem, but it is not a good idea to override showEvent - e.g. when the combo box is hidden and then shown again, it will emit signals even though it shouldn't.