Remove unnecessary #if

Signed-off-by: comp500 <comp500@users.noreply.github.com>
This commit is contained in:
comp500 2023-08-09 23:04:44 +01:00
parent a351d1834a
commit 1c3449e5a2

View File

@ -65,11 +65,7 @@ QStringList LoggedProcess::reprocess(const QByteArray& data, QTextDecoder& decod
m_leftover_line = "";
}
#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
auto lines = str.remove(QChar::CarriageReturn).split(QChar::LineFeed);
#else
auto lines = str.remove(QChar::CarriageReturn).split(QChar::LineFeed);
#endif
m_leftover_line = lines.takeLast();
return lines;