summaryrefslogtreecommitdiffstats
path: root/qt-ui/starwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/starwidget.cpp')
-rw-r--r--qt-ui/starwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/starwidget.cpp b/qt-ui/starwidget.cpp
index 51281ab28..005396761 100644
--- a/qt-ui/starwidget.cpp
+++ b/qt-ui/starwidget.cpp
@@ -108,8 +108,8 @@ QImage grayImage(const QImage& coloredImg)
continue;
QColor c(rgb);
- int gray = (c.red() + c.green() + c.blue()) / 3;
- img.setPixel(i, j, qRgba(gray, gray, gray, 60));
+ int gray = 204 + (c.red() + c.green() + c.blue()) / 15;
+ img.setPixel(i, j, qRgb(gray, gray, gray));
}
}