diff --git a/AdaptiveBrightness/monitor_control_win.cpp b/AdaptiveBrightness/monitor_control_win.cpp index 83997da..e5e3f69 100644 --- a/AdaptiveBrightness/monitor_control_win.cpp +++ b/AdaptiveBrightness/monitor_control_win.cpp @@ -31,6 +31,10 @@ static BOOL enumMonitorsCallback(HMONITOR hMonitor, [[maybe_unused]] HDC hDC, [[ const auto monitor = Monitor(hMonitor, physicalMonitor); if(monitor.hasBrightnessCapability()) { + qInfo(ltr("Found brightness capable monitor '%1' with handle '0x%2' and physical handle '0x%3'") + .arg(monitor.m_physicalMonitor.name) + .arg(reinterpret_cast(monitor.m_hMonitor), 0, 16) + .arg(reinterpret_cast(monitor.m_physicalMonitor.handle), 0, 16)); monitors.push_back(monitor); } }