Merge "Merge remote-tracking branch 'origin/4.10' into 4.11" into 4.11

This commit is contained in:
The Qt Project
2019-10-16 13:35:04 +00:00
13 changed files with 72 additions and 61 deletions

View File

@@ -567,7 +567,8 @@ void LogWindow::doOutput()
if (m_queuedOutput.isEmpty())
return;
theGlobalLog->doOutput(m_queuedOutput);
if (theGlobalLog)
theGlobalLog->doOutput(m_queuedOutput);
QTextCursor cursor = m_combinedText->textCursor();
const bool atEnd = cursor.atEnd();
@@ -706,6 +707,7 @@ GlobalLogWindow::GlobalLogWindow()
GlobalLogWindow::~GlobalLogWindow()
{
theGlobalLog = nullptr;
}
void GlobalLogWindow::doOutput(const QString &output)