diff options
author | Lu Zhen <luzhen@uniontech.com> | 2020-12-21 11:24:49 +0800 |
---|---|---|
committer | Lu Zhen <luzhen@uniontech.com> | 2020-12-25 10:40:29 +0800 |
commit | 9a237257c441e455a4aaf1cf1a51bc21eed46ff9 (patch) | |
tree | a8555ab4d150b495292d3b60c3c2da4d71efb502 /src/plugins | |
parent | 741862875c4bd72ba6d28cf53f6f88579602e4bf (diff) |
Adjust the format of code blocks in handleScreenChange function
Change-Id: I5da777e2196c005d6d5402c254a9452c3a888036
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/platforms/xcb/qxcbscreen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/xcb/qxcbscreen.cpp b/src/plugins/platforms/xcb/qxcbscreen.cpp index e1fa4d8416..9f20df9b35 100644 --- a/src/plugins/platforms/xcb/qxcbscreen.cpp +++ b/src/plugins/platforms/xcb/qxcbscreen.cpp @@ -262,7 +262,7 @@ void QXcbVirtualDesktop::handleScreenChange(xcb_randr_screen_change_notify_event case XCB_RANDR_ROTATION_REFLECT_Y: break; } - for (QPlatformScreen *platformScreen: qAsConst(m_screens)) { + for (QPlatformScreen *platformScreen : qAsConst(m_screens)) { QDpi ldpi = platformScreen->logicalDpi(); QWindowSystemInterface::handleScreenLogicalDotsPerInchChange(platformScreen->screen(), ldpi.first, ldpi.second); } |