Hmm, is the file closed and/or the QFile object destructed anywhere?