mirror of
https://github.com/fergalmoran/flameshot.git
synced 2026-01-02 07:07:44 +00:00
delete inlines, trust the compiler
This commit is contained in:
@@ -31,7 +31,7 @@ namespace {
|
||||
|
||||
const int BUTTON_SIZE = 30;
|
||||
|
||||
inline qreal getColorLuma(const QColor &c) {
|
||||
qreal getColorLuma(const QColor &c) {
|
||||
return 0.30 * c.redF() + 0.59 * c.greenF() + 0.11 * c.blueF();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user