mirror of https://github.com/cutefishos/calamares
/etc/mtab reports a file size of 0, so using .atEnd() may not work. Read the file until it doesn't return more data.
Use QTextStream because it takes care of the conversion between 8-bit and 16-bit. http://doc.qt.io/qt-5/qfile.html#using-streams-to-read-filesmain
parent
642b4be1f2
commit
fb3072bbbb
Loading…
Reference in New Issue