diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-01-06 12:38:40 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-01-10 02:37:03 +0900 |
commit | e1dbf656720d08c6cddd4082bfd22ef6b80b2494 (patch) | |
tree | 089c8d8f85df896a978965d23acdfea28f529426 /desktop-widgets/starwidget.cpp | |
parent | fa4208cc18bd37bf7defe43a1b4904b43456a429 (diff) | |
download | subsurface-e1dbf656720d08c6cddd4082bfd22ef6b80b2494.tar.gz |
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>
Diffstat (limited to 'desktop-widgets/starwidget.cpp')
-rw-r--r-- | desktop-widgets/starwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/starwidget.cpp b/desktop-widgets/starwidget.cpp index 2f72d7df0..d4a63b273 100644 --- a/desktop-widgets/starwidget.cpp +++ b/desktop-widgets/starwidget.cpp @@ -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()); } } |