Add the following line in your constructor
Qt Code:
To copy to clipboard, switch view to plain text mode
Also, I see that the following line is not correct
Qt Code:
newList->addItem("xxx"); // SEGMENTATION FAULT - but not if in the constructorTo copy to clipboard, switch view to plain text mode
There is no variable called newList




Reply With Quote
Bookmarks