diff options
author | hjk <hjk@theqtcompany.com> | 2015-09-18 09:41:17 +0200 |
---|---|---|
committer | hjk <hjk@theqtcompany.com> | 2015-09-18 13:04:52 +0000 |
commit | e298500379839b23e503d0aaa25df90cfaa83f8e (patch) | |
tree | c055b3795d252820cdfebbe2a2b138bc274066b6 /src/plugins/debugger/qml/qmlengineutils.cpp | |
parent | 374f84acc78316d170b60d24891f7bad57a4d2f5 (diff) | |
download | qt-creator-e298500379839b23e503d0aaa25df90cfaa83f8e.tar.gz |
Debugger: Remove remains of QmlEngine live update feature
Change-Id: Iaa77f9d9af103046841637862b8aacdc6b0342c7
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
Diffstat (limited to 'src/plugins/debugger/qml/qmlengineutils.cpp')
-rw-r--r-- | src/plugins/debugger/qml/qmlengineutils.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/plugins/debugger/qml/qmlengineutils.cpp b/src/plugins/debugger/qml/qmlengineutils.cpp index 55dc00813d..50f707d005 100644 --- a/src/plugins/debugger/qml/qmlengineutils.cpp +++ b/src/plugins/debugger/qml/qmlengineutils.cpp @@ -209,28 +209,6 @@ public: quint32 *column; }; -bool adjustBreakpointLineAndColumn(const QString &filePath, quint32 *line, quint32 *column, bool *valid) -{ - bool success = false; - //check if file is in the latest snapshot - //ignoring documentChangedOnDisk - //TODO:: update breakpoints if document is changed. - ModelManagerInterface *mmIface = ModelManagerInterface::instance(); - if (mmIface) { - Document::Ptr doc = mmIface->newestSnapshot().document(filePath); - if (doc.isNull()) { - ModelManagerInterface::instance()->updateSourceFiles( - QStringList() << filePath, false); - } else { - ASTWalker walker; - walker(doc->ast(), line, column); - *valid = walker.done; - success = true; - } - } - return success; -} - void appendDebugOutput(QtMsgType type, const QString &message, const QDebugContextInfo &info) { ConsoleItem::ItemType itemType; |