From 6bfce630608b6e8df221e9812c4dc871446a90d6 Mon Sep 17 00:00:00 2001 From: matlabbe Date: Thu, 6 Apr 2017 14:39:46 -0400 Subject: [PATCH] fixed compilation warning --- guilib/src/EditDepthArea.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guilib/src/EditDepthArea.cpp b/guilib/src/EditDepthArea.cpp index 2bc22b66..08ad9382 100644 --- a/guilib/src/EditDepthArea.cpp +++ b/guilib/src/EditDepthArea.cpp @@ -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; }