]> git.lyx.org Git - features.git/commitdiff
add warning about processing events
authorPeter Kümmel <syntheticpp@gmx.net>
Fri, 15 Jan 2010 10:53:56 +0000 (10:53 +0000)
committerPeter Kümmel <syntheticpp@gmx.net>
Fri, 15 Jan 2010 10:53:56 +0000 (10:53 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33046 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiProgressView.cpp

index 5d719c948b3987ca6acace1769b34d6480093ef2..004c70e86a69b1348dd07b434bd23c2775caa846 100644 (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();
 }