mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-27 19:40:10 +00:00
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:
parent
9f2e85d565
commit
70e29b2cc7
@ -173,6 +173,8 @@ void GuiProgressView::appendLyXErrText(QString const & text)
|
|||||||
// showing Debug::ANY messages completely blocks the GUI.
|
// showing Debug::ANY messages completely blocks the GUI.
|
||||||
// Text is not always send as the whole line, so we must be
|
// Text is not always send as the whole line, so we must be
|
||||||
// careful about eolns.
|
// careful about eolns.
|
||||||
|
// WARNING: processing events could cause crashes!
|
||||||
|
// TODO: find a better solution
|
||||||
if (text.endsWith("\n"))
|
if (text.endsWith("\n"))
|
||||||
QApplication::processEvents();
|
QApplication::processEvents();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user