Removed a couple of qDebug()s.

This commit is contained in:
Erik Verbruggen
2009-10-02 11:29:54 +02:00
parent c3d1019deb
commit 762165c2c5
2 changed files with 6 additions and 6 deletions

View File

@@ -70,7 +70,7 @@ int QmlCodeCompletion::startCompletion(TextEditor::ITextEditable *editor)
// } // }
QmlDocument::Ptr qmlDocument = edit->qmlDocument(); QmlDocument::Ptr qmlDocument = edit->qmlDocument();
qDebug() << "*** document:" << qmlDocument; // qDebug() << "*** document:" << qmlDocument;
if (qmlDocument.isNull()) if (qmlDocument.isNull())
return pos; return pos;
@@ -79,7 +79,7 @@ int QmlCodeCompletion::startCompletion(TextEditor::ITextEditable *editor)
if (qmlDocument->program()) { if (qmlDocument->program()) {
QmlJS::AST::UiProgram *program = qmlDocument->program(); QmlJS::AST::UiProgram *program = qmlDocument->program();
qDebug() << "*** program:" << program; // qDebug() << "*** program:" << program;
if (program) { if (program) {
QmlExpressionUnderCursor expressionUnderCursor; QmlExpressionUnderCursor expressionUnderCursor;

View File

@@ -225,16 +225,16 @@ void QmlExpressionUnderCursor::parseExpression(const QTextBlock &block)
Node *node = 0; Node *node = 0;
if (UiObjectMember *binding = tryBinding(text)) { if (UiObjectMember *binding = tryBinding(text)) {
qDebug() << "**** binding"; // qDebug() << "**** binding";
node = binding; node = binding;
} else if (Statement *stmt = tryStatement(text)) { } else if (Statement *stmt = tryStatement(text)) {
qDebug() << "**** statement"; // qDebug() << "**** statement";
node = stmt; node = stmt;
} else if (ExpressionNode *expr = tryExpression(text)) { } else if (ExpressionNode *expr = tryExpression(text)) {
qDebug() << "**** expression"; // qDebug() << "**** expression";
node = expr; node = expr;
} else { } else {
qDebug() << "**** none"; // qDebug() << "**** none";
} }
if (node) { if (node) {