You may as well just Q_VERIFY(false) in these conditions.