Well I don't know the architecture of your code, but instead of creating the model each time the function is called do something like thatQt Code:
QStringList newData; // or where ever your data is old << newData; model->setStringList(old);To copy to clipboard, switch view to plain text mode
Bookmarks