diff options
author | Morten Johan Sørvig <morten.sorvig@qt.io> | 2022-03-11 12:48:54 +0100 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2022-09-08 12:49:30 +0200 |
commit | 5699a1f909d3dba2a74b462d3538f188028db28a (patch) | |
tree | e1524188c2f56954aacde85ed8521f5cf6680adb /src/gui/kernel/qwindowsysteminterface.cpp | |
parent | a0b34a86b684d36fed5d11ce063b2629fd4e4598 (diff) |
Rename QScreenPrivate::updateHighDpi()
The function updates the cached QScreen geometry; rename
it to updateGeometry().
Change-Id: I56077807baa6c515769017dbb842eed10b1d1357
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/gui/kernel/qwindowsysteminterface.cpp')
-rw-r--r-- | src/gui/kernel/qwindowsysteminterface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qwindowsysteminterface.cpp b/src/gui/kernel/qwindowsysteminterface.cpp index 0177b105d6..15cdafa84c 100644 --- a/src/gui/kernel/qwindowsysteminterface.cpp +++ b/src/gui/kernel/qwindowsysteminterface.cpp @@ -752,7 +752,7 @@ void QWindowSystemInterface::handleScreenAdded(QPlatformScreen *ps, bool isPrima QGuiApplicationPrivate::resetCachedDevicePixelRatio(); QHighDpiScaling::updateHighDpiScaling(); - screen->d_func()->updateHighDpi(); + screen->d_func()->updateGeometry(); emit qGuiApp->screenAdded(screen); |