Remove the discard of mouse events on windows inside ViewArea

This commit is contained in:
jfmcarreira committed 2014-06-17 17:53:37 +01:00
1 parent b43c52af20
commit 27adbcaf8f
1 file changed
+3
+3
View File
@@ -605,9 +605,12 @@ void ViewArea::mouseMoveEvent( QMouseEvent *event )
{
event->accept();
#ifndef _MSC_VER
// Add this code line to avoid slow navigation with some specific mouses
// This seems to always appear on windows
if(qApp->hasPendingEvents())
return;
#endif
QPoint actualPos = windowToView( event->pos() );
QRect updateRect;