From: <ibr...@us...> - 2014-01-09 11:33:50
|
Revision: 5008 http://sourceforge.net/p/tora/code/5008 Author: ibre5041 Date: 2014-01-09 11:33:45 +0000 (Thu, 09 Jan 2014) Log Message: ----------- Comments Modified Paths: -------------- trunk/tora/src/editor/tomarkedtext.h Modified: trunk/tora/src/editor/tomarkedtext.h =================================================================== --- trunk/tora/src/editor/tomarkedtext.h 2014-01-08 23:28:14 UTC (rev 5007) +++ trunk/tora/src/editor/tomarkedtext.h 2014-01-09 11:33:45 UTC (rev 5008) @@ -60,8 +60,13 @@ /** * Long story short - QScintilla::paint emits cursorPositionChanged - * If it's handler displays QMessageBox QScintilla::paint gets recursively called - * And Tora segfaults. + * If it's handler displays QMessageBox(via calling Utils::toStatusMessage) QScintilla::paint gets recursively called + * And Tora segfaults + * + * A sequence of: + * message.text = err.value(); + * QTimer::singleShot(0, &message, SLOT(notify())); + * Will display an error message AFTER QScintilla::paint finishes */ class QSciMessage : public QObject { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |