fixed compilation warning

This commit is contained in:
matlabbe
2017-04-06 14:39:46 -04:00
parent 6ca3b8246a
commit 6bfce63060

View File

@@ -241,7 +241,7 @@ void floodfill(QImage & image, const cv::Mat & depthImage, int x, int y, float l
}
QRgb rgb = image.pixel(x,y);
if(qRed(rgb) == 0 && qGreen(rgb) == 0 == qBlue(rgb) == 0)
if(qRed(rgb) == 0 && qGreen(rgb) == 0 && qBlue(rgb) == 0)
{
return;
}