From e1dbf656720d08c6cddd4082bfd22ef6b80b2494 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 6 Jan 2020 12:38:40 -0800 Subject: code cleanup: replace deprecated member function QColor::dark() dark() and darker() appear to have the same semantics. Signed-off-by: Dirk Hohndel --- desktop-widgets/starwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop-widgets/starwidget.cpp') 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()); } } -- cgit v1.2.3-70-g09d2