Address review findings

This commit is contained in:
Lukas Brübach 2026-11-08 14:44:12 +01:00
parent dd5048e32c
commit 115d16a74b
3 changed files with 10 additions and 10 deletions

View file

@ -90,8 +90,8 @@ QColor expectedNeutralInk(const QPalette &palette)
palette.color(QPalette::Active, QPalette::Highlight));
}
/** @brief Opaque pixels that are not the given rim color, i.e. the gradient fill. */ int
countOpaquePixelsOtherThan(const QPixmap &pixmap, const QColor &excluded)
/** @brief Opaque pixels that are not the given rim color, i.e. the gradient fill. */
int countOpaquePixelsOtherThan(const QPixmap &pixmap, const QColor &excluded)
{
const QImage image = pixmap.toImage();
int count = 0;