I was trying to save some text from my QTextBrowser to a file like below
Qt Code:
if (!strFile.isEmpty()) { myFile.write(text().toUtf8()); }To copy to clipboard, switch view to plain text mode
now when i look at my saved file in NotePad its one big long line but in the WordPad its okey meaning lines (newlines) are the same as what i saw in my QTextBrowser.
Does it mean that there a special thingy for notepad?
baray98
P.S.
I also tried using QTextStream to save it....
Bookmarks