summaryrefslogtreecommitdiffstats
path: root/examples/widgets/tools/undo/main.cpp
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 /examples/widgets/tools/undo/main.cpp
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 'examples/widgets/tools/undo/main.cpp')
-rw-r--r--examples/widgets/tools/undo/main.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/examples/widgets/tools/undo/main.cpp b/examples/widgets/tools/undo/main.cpp
index 1a6dcf8c48..a5ec1b1b83 100644
--- a/examples/widgets/tools/undo/main.cpp
+++ b/examples/widgets/tools/undo/main.cpp
@@ -54,9 +54,6 @@
int main(int argc, char **argv)
{
Q_INIT_RESOURCE(undo);
-#ifdef Q_OS_ANDROID
- QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
-#endif
QApplication app(argc, argv);