summaryrefslogtreecommitdiffstats
path: root/examples/demos/stocqt/main.cpp
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@qt.io>2020-10-22 13:39:14 +0200
committerRobert Loehning <robert.loehning@qt.io>2020-10-23 13:07:39 +0200
commit01b88573eb4df718202d26fe3d61b8306a8b14de (patch)
treeee839549a1b6d2bb6e0ad5af8b35a8e7c0749ba2 /examples/demos/stocqt/main.cpp
parent8427a2dbd989daf5f5d6c314f3702c340f784fac (diff)
Examples: Don't enable high DPI scaling explicitly
Compiler complains that's deprecated and always on. Change-Id: Ic42db6288cde5c95093715afd5df98368d67bd1f Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'examples/demos/stocqt/main.cpp')
-rw-r--r--examples/demos/stocqt/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/demos/stocqt/main.cpp b/examples/demos/stocqt/main.cpp
index 7c0da8afb..84e8fb8f5 100644
--- a/examples/demos/stocqt/main.cpp
+++ b/examples/demos/stocqt/main.cpp
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2017 The Qt Company Ltd.
+** Copyright (C) 2020 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the examples of the Qt Toolkit.
@@ -55,7 +55,6 @@
int main(int argc, char *argv[])
{
- QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QCoreApplication::setOrganizationName("QtExamples");
QGuiApplication app(argc, argv);