mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-10 20:13:24 -08:00
Address review findings
This commit is contained in:
parent
dd5048e32c
commit
115d16a74b
3 changed files with 10 additions and 10 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue