From 70e29b2cc77629ff1aacf393dee641afb5582797 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20K=C3=BCmmel?= Date: Fri, 15 Jan 2010 10:53:56 +0000 Subject: [PATCH] add warning about processing events git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33046 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiProgressView.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontends/qt4/GuiProgressView.cpp b/src/frontends/qt4/GuiProgressView.cpp index 5d719c948b..004c70e86a 100644 --- a/src/frontends/qt4/GuiProgressView.cpp +++ b/src/frontends/qt4/GuiProgressView.cpp @@ -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(); } -- 2.39.2