Oh, that's easy. You have two "comboBox" variables - one is a member variable and the other is a local variable created (and destroyed) in the constructor. You are assigning an object to the local one and try to dereference the member which obviously results in a crash.
Bookmarks