From cfa1bed0cb1b231dab9a88d1359da6da7fc0bd50 Mon Sep 17 00:00:00 2001
From: Kai Koehne <kai.koehne@nokia.com>
Date: Tue, 24 Aug 2010 14:33:36 +0200
Subject: [PATCH] QmlOutline: Increase delay before doing an update to 500ms

Use same delay as in cppeditor. Hopefully prevents the Outline to be
updated while typing.
---
 src/plugins/qmljseditor/qmljseditor.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/qmljseditor/qmljseditor.cpp b/src/plugins/qmljseditor/qmljseditor.cpp
index 54b69a9e86e..d005f12cb9e 100644
--- a/src/plugins/qmljseditor/qmljseditor.cpp
+++ b/src/plugins/qmljseditor/qmljseditor.cpp
@@ -78,7 +78,7 @@
 enum {
     UPDATE_DOCUMENT_DEFAULT_INTERVAL = 50,
     UPDATE_USES_DEFAULT_INTERVAL = 150,
-    UPDATE_OUTLINE_INTERVAL = 150 // msecs after new semantic info has been arrived / cursor has moved
+    UPDATE_OUTLINE_INTERVAL = 500 // msecs after new semantic info has been arrived / cursor has moved
 };
 
 using namespace QmlJS;
-- 
GitLab