[Uml-devel] kdesdk/umbrello/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Fri Nov 19 14:34:01 UTC 2004
CVS commit by okellogg:
Call kapp->processEvents() for better responsiveness.
M +6 -0 umldoc.cpp 1.204
--- kdesdk/umbrello/umbrello/umldoc.cpp #1.203:1.204
@@ -1896,4 +1896,5 @@ bool UMLDoc::loadFromXMI( QIODevice & fi
QString data = stream.read();
+ kapp->processEvents(); // give UI events a chance
QString error;
int line;
@@ -1903,4 +1904,5 @@ bool UMLDoc::loadFromXMI( QIODevice & fi
return false;
}
+ kapp->processEvents(); // give UI events a chance
QDomNode node = doc.firstChild();
//Before Umbrello 1.1-rc1 we didn't add a <?xml heading
@@ -2026,4 +2028,5 @@ bool UMLDoc::loadFromXMI( QIODevice & fi
emit sigWriteToStatusBar( i18n("Setting up the document...") );
+ kapp->processEvents(); // give UI events a chance
m_currentView = NULL;
activateAllViews();
@@ -2137,4 +2140,5 @@ bool UMLDoc::loadUMLObjectsFromXMI(QDomE
emit sigSetStatusbarProgress( ++m_count );
*/
+ kapp->processEvents(); // give UI events a chance
}
@@ -2152,4 +2156,5 @@ bool UMLDoc::loadUMLObjectsFromXMI(QDomE
obj->resolveRef();
}
+ kapp->processEvents(); // give UI events a chance
#ifdef VERBOSE_DEBUGGING
kdDebug() << "UMLDoc object list after resolveRef():" << endl;
@@ -2286,4 +2291,5 @@ bool UMLDoc::loadDiagramsFromXMI( QDomNo
addView( pView );
emit sigSetStatusbarProgress( ++count );
+ kapp->processEvents(); // give UI events a chance
}
node = node.nextSibling();
More information about the umbrello-devel
mailing list