mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue