summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qnamespace.h
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-08-28 11:38:07 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-08-28 20:08:43 +0200
commitdce106c77cc2ecf58ceb38a041698dc35a80183c (patch)
tree30b698675f905b9d3a7bd265b297096feac80648 /src/corelib/global/qnamespace.h
parent891fc4b42be2a56b61d1784898e8d0a9107e5055 (diff)
High-DPI: Remove usage of Qt::AA_EnableHighDpiScaling
This attribute is now on by default. Change-Id: I7c9d2e3445d204d3450758673048d514bc9c850c Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/corelib/global/qnamespace.h')
-rw-r--r--src/corelib/global/qnamespace.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/corelib/global/qnamespace.h b/src/corelib/global/qnamespace.h
index 9dda3572b4..01138e58ed 100644
--- a/src/corelib/global/qnamespace.h
+++ b/src/corelib/global/qnamespace.h
@@ -487,7 +487,9 @@ namespace Qt {
AA_UseSoftwareOpenGL = 17,
AA_ShareOpenGLContexts = 18,
AA_SetPalette = 19,
- AA_EnableHighDpiScaling = 20,
+#if QT_DEPRECATED_SINCE(6, 0)
+ AA_EnableHighDpiScaling Q_DECL_ENUMERATOR_DEPRECATED = 20,
+#endif
AA_DisableHighDpiScaling = 21,
AA_UseStyleSheetPropagationInWidgetStyles = 22,
AA_DontUseNativeDialogs = 23,