Fix bug which caused slow iamge navigation with some kinds of mouses.
This commit is contained in:
1 parent
34b406d0bc
commit
07afa04711
1 file changed
+4
@@ -598,6 +598,10 @@ void ViewArea::mouseMoveEvent( QMouseEvent *event )
|
||||
{
|
||||
event->accept();
|
||||
|
||||
// Add this code line to avoid slow navigation with some specific mouses
|
||||
if(qApp->hasPendingEvents())
|
||||
return;
|
||||
|
||||
QPoint actualPos = windowToView( event->pos() );
|
||||
QRect updateRect;
|
||||
|
||||
|
||||
Reference in new issue
Block a user