Fix console behaviour on Windows

This commit is contained in:
Alex Spataru 2021-02-05 17:57:28 -05:00
parent 00face16a3
commit fda3b6b11e

View File

@ -445,7 +445,7 @@ void Console::append(const QString &string, const bool addTimestamp)
m_timestampAdded = true;
}
if (string.at(i) == "\n" || string.at(i) == "\r")
if (data.at(i) == "\n" || data.at(i) == "\r")
{
m_data.append("");
m_timestampAdded = false;