xcb: Remove unneeded call to QHighDpiScaling::updateHighDpiScaling
QWindowSystemInterface::handleScreenAdded() already calls the function as part of adding a new screen, and it the right place for the logic to exist in any case. Change-Id: If7f9d62e2de9d4ddb9a985d642ea7a5bc7388db5 Reviewed-by: Liang Qi <liang.qi@qt.io>bb10
parent
ad751a0390
commit
a4abb0c4b7
|
|
@ -511,7 +511,6 @@ void QXcbConnection::initializeScreensFromMonitor(xcb_screen_iterator_t *it, int
|
|||
screen = findScreenForMonitorInfo(old, monitor_info);
|
||||
if (!screen) {
|
||||
screen = createScreen_monitor(virtualDesktop, monitor_info, monitors_r->timestamp);
|
||||
QHighDpiScaling::updateHighDpiScaling();
|
||||
} else {
|
||||
updateScreen_monitor(screen, monitor_info, monitors_r->timestamp);
|
||||
old.removeAll(screen);
|
||||
|
|
|
|||
Loading…
Reference in New Issue