From 5d272795cfdcd0711ba413e13f68a9b2bce2cb48 Mon Sep 17 00:00:00 2001
From: Roberto Raggi <roberto.raggi@nokia.com>
Date: Tue, 26 Jan 2010 15:19:19 +0100
Subject: [PATCH] Don't add the QML signals to the completion box.

---
 src/plugins/qmljseditor/qmlcodecompletion.cpp | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/plugins/qmljseditor/qmlcodecompletion.cpp b/src/plugins/qmljseditor/qmlcodecompletion.cpp
index fc1558298df..de3faa557a7 100644
--- a/src/plugins/qmljseditor/qmlcodecompletion.cpp
+++ b/src/plugins/qmljseditor/qmlcodecompletion.cpp
@@ -291,10 +291,8 @@ private:
         return true;
     }
 
-    virtual bool processSignal(const QString &name, const Interpreter::Value *value)
+    virtual bool processSignal(const QString &, const Interpreter::Value *)
     {
-        if (! _globalCompletion)
-            _properties.insert(name, value);
         return true;
     }
 
-- 
GitLab