[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdevelop/languages/cpp
From:       David Nolden <david.nolden.kde () art-master ! de>
Date:       2008-05-31 22:54:13
Message-ID: 1212274453.710895.20948.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 815017 by zwabel:

Add macro to define the lockup test interval



 M  +3 -3      cpplanguagesupport.cpp  


--- trunk/KDE/kdevelop/languages/cpp/cpplanguagesupport.cpp #815016:815017
@@ -87,7 +87,8 @@
 #include "setuphelpers.h"
 #include "quickopen.h"
 
-/*#define DEBUG_UI_LOCKUP */
+//#define DEBUG_UI_LOCKUP
+#define LOCKUP_INTERVAL 30
 //List of possible headers used for definition/declaration fallback switching
 QStringList headerExtensions(QString("h,H,hh,hxx,hpp,tlh,h++").split(','));
 QStringList sourceExtensions(QString("c,cc,cpp,c++,cxx,C,m,mm,M,inl,_impl.h").split(','));
 @@ -206,7 +207,7 @@
     connect(switchDefinitionDeclaration, SIGNAL(triggered(bool)), this, \
SLOT(switchDefinitionDeclaration()));  
 #ifdef DEBUG_UI_LOCKUP
-    m_blockTester = new UIBlockTester(300);
+    m_blockTester = new UIBlockTester(LOCKUP_INTERVAL);
 #endif
 }
 
@@ -1009,4 +1010,3 @@
  }
 
 #include "cpplanguagesupport.moc"
-


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic