There's not much I can do with that piece of code. I wanted to test and see myself, that's why I asked for something compilable to test with.
I took one of the SQL examples shipped with Qt and modified it to use combo boxes instead of tables. The attached example seems to work pretty fine for me. Does it work for you?
Bookmarks