summaryrefslogtreecommitdiffstats
path: root/examples/widgets/widgets/elidedlabel
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/widgets/elidedlabel
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/widgets/elidedlabel')
-rw-r--r--examples/widgets/widgets/elidedlabel/main.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/examples/widgets/widgets/elidedlabel/main.cpp b/examples/widgets/widgets/elidedlabel/main.cpp
index 58507766e7..1c620c1d41 100644
--- a/examples/widgets/widgets/elidedlabel/main.cpp
+++ b/examples/widgets/widgets/elidedlabel/main.cpp
@@ -55,9 +55,6 @@
//! [0]
int main( int argc, char *argv[] )
{
-#ifdef Q_OS_ANDROID
- QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
-#endif
QApplication application( argc, argv );
TestWidget w;
w.showFullScreen();