From 9cc0e1dc99ca000ced8ded4329b3282f898027e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bodn=C3=A1r=20Zsombor?= <bodzsoaa@sch.bme.hu> Date: Fri, 19 Feb 2021 20:07:34 +0100 Subject: [PATCH] Add comment for reduceColor --- src/muebtransmitter_p.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/muebtransmitter_p.h b/src/muebtransmitter_p.h index 963c54c..8b5d050 100644 --- a/src/muebtransmitter_p.h +++ b/src/muebtransmitter_p.h @@ -31,6 +31,10 @@ class MuebTransmitterPrivate { MuebTransmitter* q_ptr; // FIXME Remove in Qt 6 + /* Reference: + * http://threadlocalmutex.com/?p=48 + * http://threadlocalmutex.com/?page_id=60 + */ std::function<uchar(const uchar&)> reduceColor = [this](const uchar& color) -> uchar { if (configuration_.color_depth() == 3) { -- GitLab