diff options
author | hjk <hjk@qt.io> | 2022-07-05 15:37:08 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2022-07-08 12:32:38 +0000 |
commit | 9894c6eaf079fd1e768271c3b6a0af8cc11de735 (patch) | |
tree | a9c7404ffaabad97cf303a54ff0ca5d256f9fe18 /src/plugins/debugger/qml/qmlengineutils.cpp | |
parent | bb3549a7210ce599ea353af52807144e455dc206 (diff) | |
download | qt-creator-9894c6eaf079fd1e768271c3b6a0af8cc11de735.tar.gz |
Debugger: Convert to Tr::tr
Change-Id: I5d2475c790851c68f9997ac6af72b5eaca58482d
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/debugger/qml/qmlengineutils.cpp')
-rw-r--r-- | src/plugins/debugger/qml/qmlengineutils.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/plugins/debugger/qml/qmlengineutils.cpp b/src/plugins/debugger/qml/qmlengineutils.cpp index 3fe5c4c8dd..c70270dc2b 100644 --- a/src/plugins/debugger/qml/qmlengineutils.cpp +++ b/src/plugins/debugger/qml/qmlengineutils.cpp @@ -23,11 +23,10 @@ ** ****************************************************************************/ -#include "qmlengine.h" - #include <qmljs/parser/qmljsast_p.h> #include <qmljs/qmljsmodelmanagerinterface.h> #include <debugger/console/console.h> +#include <qmldebug/qdebugmessageclient.h> #include <coreplugin/editormanager/documentmodel.h> @@ -44,8 +43,7 @@ using namespace QmlJS; using namespace QmlJS::AST; using namespace TextEditor; -namespace Debugger { -namespace Internal { +namespace Debugger::Internal { class ASTWalker : public Visitor { @@ -228,8 +226,6 @@ void appendDebugOutput(QtMsgType type, const QString &message, const QDebugConte break; } - QTC_ASSERT(itemType != ConsoleItem::DefaultType, return); - debuggerConsole()->printItem(new ConsoleItem(itemType, message, info.file, info.line)); } @@ -282,5 +278,4 @@ QStringList highlightExceptionCode(int lineNumber, const QString &filePath, cons return messages; } -} // Internal -} // Debugger +} // Debugger::Internal |