That code is doing what it says, which is not crashing. If you have a crash, you have something else. You need to get a backtrace. Please run it in gdb and reproduce. If you get that, lets see where the issue is. It will probably be Qt, which will still be dealing with me, but lets move this to Qt's bug tracker. David