diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2018-07-30 21:28:42 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2018-08-03 20:49:05 +0000 |
commit | 68f20bb8f4b74e313e1d44a7d7e78af6d8b5b3ea (patch) | |
tree | e9d47b3823dc6728f4843e715935234027791a78 /src/plugins/platforms/cocoa/qcocoaintegration.mm | |
parent | 144d33df72e5ca905b1d64134784923d5cd0733f (diff) |
macOS: Make screen property changes more verbose and granular
We only update the properties that have actually changed.
Change-Id: If711530c6118d2550d5a0e968ee02c903b44fd04
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@qt.io>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoaintegration.mm')
-rw-r--r-- | src/plugins/platforms/cocoa/qcocoaintegration.mm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/plugins/platforms/cocoa/qcocoaintegration.mm b/src/plugins/platforms/cocoa/qcocoaintegration.mm index ce3a1304b2..8ad76eb05e 100644 --- a/src/plugins/platforms/cocoa/qcocoaintegration.mm +++ b/src/plugins/platforms/cocoa/qcocoaintegration.mm @@ -225,8 +225,6 @@ QCocoaIntegration::Options QCocoaIntegration::options() const return mOptions; } -Q_LOGGING_CATEGORY(lcQpaScreen, "qt.qpa.screen"); - /*! \brief Synchronizes the screen list, adds new screens, removes deleted ones */ @@ -265,8 +263,7 @@ void QCocoaIntegration::updateScreens() } if (screen) { remainingScreens.remove(screen); - screen->updateGeometry(); - qCDebug(lcQpaScreen) << "Updated properties of" << screen; + screen->updateProperties(); } else { screen = new QCocoaScreen(i); mScreens.append(screen); |