code cleanup: replace deprecated member function QColor::dark()

dark() and darker() appear to have the same semantics.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2020-01-06 12:38:40 -08:00
parent fa4208cc18
commit e1dbf65672

View file

@ -28,7 +28,7 @@ QImage focusedImage(const QImage& coloredImg)
continue;
QColor c(rgb);
c = c.dark();
c = c.darker();
img.setPixel(i, j, c.rgb());
}
}