summary refs log tree commit diff
path: root/src/Utils.cpp
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2020-11-13 18:15:35 +0100
committerGitHub <noreply@github.com>2020-11-13 18:15:35 +0100
commit4d9d049f2ab8fd02fd28e55043e68f49ba2817ff (patch)
treec1166b8f3515179e45bf827e9e71757c96637660 /src/Utils.cpp
parentMerge pull request #314 from MayeulC/smoothie-2 (diff)
parentclang-format (diff)
downloadnheko-4d9d049f2ab8fd02fd28e55043e68f49ba2817ff.tar.xz
Merge pull request #325 from trilene/webrtc-video
Make incoming call ringtone a user setting
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); }