[Uml-devel] kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Wed Dec 15 16:46:01 UTC 2004


CVS commit by okellogg: 

Revert the kapp->processEvents(), it just makes import take longer


  M +7 -2      classimport.cpp   1.56


--- kdesdk/umbrello/umbrello/classimport.cpp  #1.55:1.56
@@ -12,5 +12,5 @@
 // qt/kde includes
 #include <qregexp.h>
-#include <kapplication.h>
+//#include <kapplication.h>
 #include <kmessagebox.h>
 #include <kdebug.h>
@@ -271,5 +271,10 @@ void ClassImport::importCPP(QStringList 
                 QString fileName = (*fileIT);
                 m_umldoc->writeToStatusBar(i18n("Importing file: %1").arg(fileName));
-                kapp->processEvents();
+
+                /// kapp->processEvents();
+                // Invoking kapp->processEvents() improves responsiveness when importing
+                // many large header files but slows down import because the list view is
+                // intermittently updated.
+
                 m_driver->parseFile( fileName );
                 TranslationUnitAST *ast = m_driver->translationUnit( fileName );






More information about the umbrello-devel mailing list