Removed qDebug.

This commit is contained in:
Erik Verbruggen
2010-06-14 18:10:03 +02:00
parent b3aff6b919
commit 81c7f4f166

View File

@@ -39,8 +39,6 @@
#include <QtCore/QDir> #include <QtCore/QDir>
#include <QtCore/QFileInfo> #include <QtCore/QFileInfo>
#include <QDebug>
using namespace QmlJS::AST; using namespace QmlJS::AST;
using namespace QmlJSEditor::Internal; using namespace QmlJSEditor::Internal;
@@ -121,7 +119,6 @@ int ComponentFromObjectDef::check()
QList<Node *> path = semanticInfo().astPath(pos); QList<Node *> path = semanticInfo().astPath(pos);
for (int i = path.size() - 1; i >= 0; --i) { for (int i = path.size() - 1; i >= 0; --i) {
Node *node = path.at(i); Node *node = path.at(i);
qDebug() << "path component" << i << typeid(*node).name();
if (UiObjectDefinition *objDef = cast<UiObjectDefinition *>(node)) { if (UiObjectDefinition *objDef = cast<UiObjectDefinition *>(node)) {
if (i > 0 && !cast<UiProgram*>(path.at(i - 1))) { // node is not the root node if (i > 0 && !cast<UiProgram*>(path.at(i - 1))) { // node is not the root node
if (!getId(objDef).isEmpty()) { if (!getId(objDef).isEmpty()) {