Fix: Result of operation is garbage or undefined
Fix: Called C++ object pointer is null

This branch is very unlikely to happen but ensuring non-null
ControlConnection will save us maybe from a very unlikely crash.
Fix: Called C++ object pointer is null

We already have a != NULL check in the next line, we should use it then.
Only ever work on QComboBox if the cast has worked
Remove dead code