summary refs log tree commit diff
path: root/src/Utils.cpp
diff options
context:
space:
mode:
authortrilene <trilene@runbox.com>2020-10-28 16:08:17 -0400
committertrilene <trilene@runbox.com>2020-10-28 16:08:17 -0400
commitfd479a91be3c0c7f3204c94ce499edb6cf7fbd77 (patch)
tree9225e0c824f4c0e578e73c7dfba48dfaef277884 /src/Utils.cpp
parentFix crash on exit (diff)
parentMake back button bigger as it is hard to tap with your thumb (diff)
downloadnheko-fd479a91be3c0c7f3204c94ce499edb6cf7fbd77.tar.xz
Merge remote-tracking branch 'upstream/master' into webrtc-video
Diffstat (limited to 'src/Utils.cpp')
-rw-r--r--src/Utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Utils.cpp b/src/Utils.cpp

index 0bfc82c3..38dbba22 100644 --- a/src/Utils.cpp +++ b/src/Utils.cpp
@@ -638,7 +638,7 @@ utils::luminance(const QColor &col) qreal lumRgb[3]; for (int i = 0; i < 3; i++) { - qreal v = colRgb[i] / 255.0; + qreal v = colRgb[i] / 255.0; v <= 0.03928 ? lumRgb[i] = v / 12.92 : lumRgb[i] = qPow((v + 0.055) / 1.055, 2.4); }