To assign the ith filename to fn:
Qt Code:
To copy to clipboard, switch view to plain text mode
You can write a straightforward for loop to iterate through the QStringList. The number of elements in the fileNames QStringList will be fileNames.size().
Bill.
Bookmarks