diff --git a/src/plugins/qmljseditor/qmlcodecompletion.cpp b/src/plugins/qmljseditor/qmlcodecompletion.cpp
index 3f2fe817412f9ac77f78a9b112fac871a08f2e13..3eecc54431dceb7c8f0c4023f901fcdba25e1745 100644
--- a/src/plugins/qmljseditor/qmlcodecompletion.cpp
+++ b/src/plugins/qmljseditor/qmlcodecompletion.cpp
@@ -281,6 +281,7 @@ int QmlCodeCompletion::startCompletion(TextEditor::ITextEditable *editor)
         }
     }
 
+#if 0
     // FIXME: this completion strategy is not going to work when the document was never parsed correctly.
     if (qmlDocument->qmlProgram() != 0) {
         const QIcon otherIcon = iconForColor(Qt::darkCyan);
@@ -327,6 +328,7 @@ int QmlCodeCompletion::startCompletion(TextEditor::ITextEditable *editor)
             }
         }
     }
+#endif
 
     if (previousChar.isNull()
             || previousChar.isSpace()