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:
parent
fa4208cc18
commit
e1dbf65672
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user