summaryrefslogtreecommitdiff
path: root/examples/script
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2019-07-31 17:21:32 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-08-01 13:12:10 +0200
commit593ee850821dbe9eb7ff139eb2485d814694ca84 (patch)
tree64e040a6bf6cf2db5ffb6981db319fccc0daf05e /examples/script
parent5c7733d5c5564a64468c5fdd5e8bd29cc131784c (diff)
downloadqtscript-593ee850821dbe9eb7ff139eb2485d814694ca84.tar.gz
Fix Qt6 buildwip/qt6
Change-Id: I1ee69b3c834c159b994f9a83f7ef36e650b09451 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'examples/script')
-rw-r--r--examples/script/qsdbg/scriptdebugger.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/script/qsdbg/scriptdebugger.cpp b/examples/script/qsdbg/scriptdebugger.cpp
index 62eb721..479c26d 100644
--- a/examples/script/qsdbg/scriptdebugger.cpp
+++ b/examples/script/qsdbg/scriptdebugger.cpp
@@ -256,13 +256,13 @@ void ScriptDebuggerPrivate::output(const QString &text)
void ScriptDebuggerPrivate::message(const QString &text)
{
- *m_outputStream << text << endl;
+ *m_outputStream << text << Qt::endl;
m_outputStream->flush();
}
void ScriptDebuggerPrivate::errorMessage(const QString &text)
{
- *m_errorStream << text << endl;
+ *m_errorStream << text << Qt::endl;
m_errorStream->flush();
}