Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hello
How can I remove all objects of a QStringList. I tried it with a while-loop like this:
@while( myStringList[0] != NULL) { myStringList.removeLast(); }@
I always encountered runtime errors. Compiling was no problem.
Thx for help!
Use the clear() member function of QList.
That's it, haven't seen the wood for the trees. Thx!