From 0e0f7c0b7b7de5cc05ceb41201b807f557dde8fb Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Tue, 15 Sep 2020 16:25:29 +0200 Subject: Fix compile warning from deprecated application attributes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit AA_DisableHighDpiScaling and AA_UseHighDpiPixmaps have been deprecated. As of 90358f6042d1fe2db849e17e1b0c875fb0560b20 and 2dc46c09026362cc267b1183faf09fb29479ef93 in qtbase, respectively, these settings are deprecated and have no effect. Change-Id: I1eb1f77a64893dd077bd08216d26633d43e1e0e3 Reviewed-by: Tor Arne Vestbø --- examples/quickcontrols2/chattutorial/chapter5-styling/main.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'examples/quickcontrols2/chattutorial/chapter5-styling/main.cpp') diff --git a/examples/quickcontrols2/chattutorial/chapter5-styling/main.cpp b/examples/quickcontrols2/chattutorial/chapter5-styling/main.cpp index 7b694b0a..2986e4b1 100644 --- a/examples/quickcontrols2/chattutorial/chapter5-styling/main.cpp +++ b/examples/quickcontrols2/chattutorial/chapter5-styling/main.cpp @@ -82,7 +82,6 @@ static void connectToDatabase() int main(int argc, char *argv[]) { - QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QGuiApplication app(argc, argv); qmlRegisterType("io.qt.examples.chattutorial", 1, 0, "SqlContactModel"); -- cgit v1.2.3