mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
Remove unnecessary #if
Signed-off-by: comp500 <comp500@users.noreply.github.com>
This commit is contained in:
parent
a351d1834a
commit
1c3449e5a2
1 changed files with 0 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue