Fix minor compile warning in g++.

This commit is contained in:
Stephen Anthony 2022-08-16 14:05:33 -02:30
parent 2998131b74
commit a9e63c1349
1 changed files with 3 additions and 3 deletions

View File

@ -252,7 +252,7 @@ void RomImageWidget::handleMouseUp(int x, int y, MouseButton b, int clickCount)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void RomImageWidget::handleMouseMoved(int x, int y) void RomImageWidget::handleMouseMoved(int x, int y)
{ {
if(x < _w / 2 != myMouseLeft) if((x < _w / 2) != myMouseLeft)
setDirty(); setDirty();
myMouseLeft = x < _w / 2; myMouseLeft = x < _w / 2;
} }