Commit 64dd45f7 authored by Leandro Melo's avatar Leandro Melo
Browse files

Text editor: Clear buffer when no longer needed

parent ee5e38e5
......@@ -501,6 +501,7 @@ bool BaseTextDocument::open(const QString &fileName)
} else {
d->m_decodingErrorSample.clear();
}
buf.clear();
foreach (const QString &text, content) {
int lf = text.indexOf('\n');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment