robster
20th February 2016, 14:19
Hi All
How do you keep a container class with QDirIterators to maintain their positions between function calls? I have ten files that I want to keep going back to, but I dont want the QDirIterator to start at the beginning every time. I've tried QVector and QMap to store them in the header file, but I get errors when trying to access.
Thanks
How do you keep a container class with QDirIterators to maintain their positions between function calls? I have ten files that I want to keep going back to, but I dont want the QDirIterator to start at the beginning every time. I've tried QVector and QMap to store them in the header file, but I get errors when trying to access.
Thanks