From 285e99cee57afa4ebae77565c5a2339c30b314da Mon Sep 17 00:00:00 2001 From: BlackMark Date: Sun, 5 Jul 2020 21:30:02 +0200 Subject: [PATCH] Add debug log for received brightness --- AdaptiveBrightness/monitor_win.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AdaptiveBrightness/monitor_win.cpp b/AdaptiveBrightness/monitor_win.cpp index 57400b4..9caf3d5 100644 --- a/AdaptiveBrightness/monitor_win.cpp +++ b/AdaptiveBrightness/monitor_win.cpp @@ -92,6 +92,8 @@ float Monitor::getBrightness() return NAN; } + qDebug(ltr("Got brightness %1 in range [%2, %3]").arg(brightness).arg(minBrightness).arg(maxBrightness)); + m_brightnessRange = std::pair{minBrightness, maxBrightness}; m_errorOccurred = false;