Add info log for compatible monitors
This commit is contained in:
parent
586db85741
commit
97f8a83af4
@ -31,6 +31,10 @@ static BOOL enumMonitorsCallback(HMONITOR hMonitor, [[maybe_unused]] HDC hDC, [[
|
|||||||
const auto monitor = Monitor(hMonitor, physicalMonitor);
|
const auto monitor = Monitor(hMonitor, physicalMonitor);
|
||||||
|
|
||||||
if(monitor.hasBrightnessCapability()) {
|
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<qulonglong>(monitor.m_hMonitor), 0, 16)
|
||||||
|
.arg(reinterpret_cast<qulonglong>(monitor.m_physicalMonitor.handle), 0, 16));
|
||||||
monitors.push_back(monitor);
|
monitors.push_back(monitor);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user