A list keeps a copy of your original object.
As for your error, what is the type of tokens? Isn't it by any chance QVector?What does tokens.size() return?
A list keeps a copy of your original object.
As for your error, what is the type of tokens? Isn't it by any chance QVector?What does tokens.size() return?
Sorry... I should've mentioned that.
line is a QString and tokens is a QStringList.
I'm reading a spreadsheet and splitting the line by the commas.
Why do you say the problem is with some slider? You are not running this code from a worker thread, are you?
No. This code is in the UI thread.
That's what is confusing me. I can't figure out why the slider is crashing. It works fine before this code runs.
I've worked on this for two days now. My best guess is that some code or memory is getting corrupted somehow.
Bookmarks