mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-12-05 01:09:14 +00:00
Fix build on Windows and macOS with Qt 5.13 and earlier
This commit is contained in:
parent
a44ed0b047
commit
489891ff3c
1 changed files with 6 additions and 1 deletions
|
@ -74,7 +74,12 @@ void logToLoggerStream(QString& message)
|
|||
return;
|
||||
}
|
||||
else if (s_LogLinesWritten == MAX_LOG_LINES) {
|
||||
s_LoggerStream << "Log size limit reached!" << Qt::endl;
|
||||
s_LoggerStream << "Log size limit reached!";
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
|
||||
s_LoggerStream << Qt::endl;
|
||||
#else
|
||||
s_LoggerStream << endl;
|
||||
#endif
|
||||
s_LogLimitReached = true;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue