add warning about processing events

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33046 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2010-01-15 10:53:56 +00:00
parent 9f2e85d565
commit 70e29b2cc7

View File

@ -173,6 +173,8 @@ void GuiProgressView::appendLyXErrText(QString const & text)
// showing Debug::ANY messages completely blocks the GUI.
// Text is not always send as the whole line, so we must be
// careful about eolns.
// WARNING: processing events could cause crashes!
// TODO: find a better solution
if (text.endsWith("\n"))
QApplication::processEvents();
}