forked from qt-creator/qt-creator
Move QmlConsole to Debugger
Now it is closer to its only user and possibly reusable for no-QML uses there. We also drop the QML/JS syntax checker. The application being debugged can already tell us about syntax errors. There is no need to duplicate that functionality. Change-Id: I2ba151f9f4c854c6119ba5462c21be40bddcebf9 Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com> Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
|
||||
#include <qmljs/parser/qmljsast_p.h>
|
||||
#include <qmljs/qmljsmodelmanagerinterface.h>
|
||||
#include <qmljs/consolemanagerinterface.h>
|
||||
#include <debugger/console/console.h>
|
||||
|
||||
#include <coreplugin/editormanager/documentmodel.h>
|
||||
|
||||
@@ -228,9 +228,7 @@ void appendDebugOutput(QtMsgType type, const QString &message, const QDebugConte
|
||||
return;
|
||||
}
|
||||
|
||||
if (auto consoleManager = ConsoleManagerInterface::instance())
|
||||
consoleManager->printToConsolePane(new ConsoleItem(itemType, message, info.file,
|
||||
info.line));
|
||||
debuggerConsole()->printItem(new ConsoleItem(itemType, message, info.file, info.line));
|
||||
}
|
||||
|
||||
void clearExceptionSelection()
|
||||
|
||||
Reference in New Issue
Block a user