Try excluding "."'s and ".."'s: Qt Code: Switch view QStringList fileList = dir.entryList(QDir::AllEntries | QDir::NoDotAndDotDot); QStringList fileList = dir.entryList(QDir::AllEntries | QDir::NoDotAndDotDot); To copy to clipboard, switch view to plain text mode
QStringList fileList = dir.entryList(QDir::AllEntries | QDir::NoDotAndDotDot);
J-P Nurmi
raphaelf (27th October 2006)
Forum Rules
Bookmarks