From: <mar...@us...> - 2010-12-25 22:30:19
|
Revision: 3836 http://navit.svn.sourceforge.net/navit/?rev=3836&view=rev Author: martin-s Date: 2010-12-25 22:30:12 +0000 (Sat, 25 Dec 2010) Log Message: ----------- Fix:graphics_qt_qpainter:Avoid calling callbacks during draw_mode_end Modified Paths: -------------- trunk/navit/navit/graphics/qt_qpainter/graphics_qt_qpainter.cpp Modified: trunk/navit/navit/graphics/qt_qpainter/graphics_qt_qpainter.cpp =================================================================== --- trunk/navit/navit/graphics/qt_qpainter/graphics_qt_qpainter.cpp 2010-12-25 21:48:32 UTC (rev 3835) +++ trunk/navit/navit/graphics/qt_qpainter/graphics_qt_qpainter.cpp 2010-12-25 22:30:12 UTC (rev 3836) @@ -980,7 +980,7 @@ } #endif if (!gr->parent) - QCoreApplication::processEvents(); + QCoreApplication::processEvents(QEventLoop::ExcludeUserInputEvents|QEventLoop::ExcludeSocketNotifiers|QEventLoop::DeferredDeletion|QEventLoop::X11ExcludeTimers); } #if QT_VERSION >= 0x040000 if (mode == draw_mode_end_lazy) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |