Hi,
i am writing a piece of code where i modify a file (add and remove entire lines).
The problem is that i am unable to grab the last empty line. The current code is :
Qt Code:
QStringList file_text; while (!in.atEnd()) { file_text.push_back(line); } file.close(); //processing the lines and then saveTo copy to clipboard, switch view to plain text mode
is there any way to get the last empty line ? (or at least to detect if there is one)
Bookmarks