Remove the discard of mouse events on windows inside ViewArea
This commit is contained in:
1 parent
b43c52af20
commit
27adbcaf8f
1 file changed
+3
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user