summaryrefslogtreecommitdiffstats
path: root/examples/widgets/gallery/main.cpp
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@qt.io>2019-09-12 12:03:17 +0200
committerMorten Johan Sørvig <morten.sorvig@qt.io>2020-03-30 08:43:02 +0100
commitc3a4d3608245c5614fcaf95bbe37f2300bbac4cb (patch)
tree2547ab0db15e17971242e6f4c8054b0e00a69f31 /examples/widgets/gallery/main.cpp
parentb61ea367a5f8d07afda36b49b039b2375142d7f4 (diff)
High-DPI: Remove usages of Qt::AA_UseHighDpiPixmaps
Remove usages of Qt::AA_UseHighDpiPixmaps from examples/. This flag is now on by default, and can't be disabled. Task-number: QTBUG-83092 Change-Id: Ie28622f816da2fe28d4ab272d45ea20bd051d5f3 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples/widgets/gallery/main.cpp')
-rw-r--r--examples/widgets/gallery/main.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/widgets/gallery/main.cpp b/examples/widgets/gallery/main.cpp
index 7f1782c84e..688a1d6039 100644
--- a/examples/widgets/gallery/main.cpp
+++ b/examples/widgets/gallery/main.cpp
@@ -62,7 +62,6 @@ int main(int argc, char *argv[])
}
if (useHighDpiScaling) {
- QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
} else {
QCoreApplication::setAttribute(Qt::AA_DisableHighDpiScaling);