Originally Posted by
wysota
Could you post a minimal compilable example reproducing the problem?
Hi there wysota,
This is the first case, where a file does not make it into entryList()
for (int i = 0; i < songnames.count(); i++)
qDebug() << songnames.at(i);
QString mapname = QString("/home/jean/serverd/Clannad/";
QDir songmap = QDir(mapname, "*.mp3", QDir::Name, QDir::Files);
QStringList songnames = songmap.entryList();
for (int i = 0; i < songnames.count(); i++)
qDebug() << songnames.at(i);
To copy to clipboard, switch view to plain text mode
I tried to pinpoint the second example with the crash but it kept puzzling me exactly what code caused the crash. If I kept out something unrelated the crash stopped, so my guess is that something gets corrupted and somehow cumulates. I will try again and find something reproducable that crashes.
Bookmarks