In my humble opinion, if ptrDlg was deleted after the call to exec(), you would have a segmentation fault when calling ptrDlg->getSourceList(). Since this is not the case, your getSourceList() function is returning NULL. You should look for the problem inside that function. Ender EREL