diff options
author | Robert Loehning <robert.loehning@qt.io> | 2020-10-22 13:39:14 +0200 |
---|---|---|
committer | Robert Loehning <robert.loehning@qt.io> | 2020-10-23 13:07:39 +0200 |
commit | 01b88573eb4df718202d26fe3d61b8306a8b14de (patch) | |
tree | ee839549a1b6d2bb6e0ad5af8b35a8e7c0749ba2 /examples/tutorials | |
parent | 8427a2dbd989daf5f5d6c314f3702c340f784fac (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/tutorials')
-rw-r--r-- | examples/tutorials/alarms/main.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/tutorials/alarms/main.cpp b/examples/tutorials/alarms/main.cpp index 3e1bdd84e..661c0baab 100644 --- a/examples/tutorials/alarms/main.cpp +++ b/examples/tutorials/alarms/main.cpp @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2018 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. @@ -52,8 +52,6 @@ int main(int argc, char *argv[]) { - QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); - QGuiApplication app(argc, argv); QQmlApplicationEngine engine; |