Fix type mismatch warning
This commit is contained in:
parent
7ea9638488
commit
1e3836cb9f
@ -347,8 +347,8 @@ bool MainWindow::setMonitorBrightness(float brightness)
|
||||
if(!m_monitors[i].driver.setBrightness(m_monitors[i].brightness)) {
|
||||
errorOccurred = true;
|
||||
}
|
||||
else if(m_ui.monitorDropdown->currentIndex() == i) {
|
||||
updateCurrentMonitorGUI(i);
|
||||
else if(m_ui.monitorDropdown->currentIndex() == static_cast<int>(i)) {
|
||||
updateCurrentMonitorGUI(static_cast<int>(i));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user