aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcontrols2/qquickstyle.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2020-09-16 00:46:15 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-09-16 10:32:15 +0200
commit153c0ee3c415f4f8bfb854b68565d10f7fc6e404 (patch)
treefc7a52e48c5287bf9c000cc8aad17da4ce8e9240 /src/quickcontrols2/qquickstyle.cpp
parentccade67a03e40e2a6bab3d028c3ce594e0aa4071 (diff)
Fix more compiler warnings from deprecated application attributes
Also cleanup documentation, with the exception of the "High-DPI Support in Qt Quick Controls" page, which needs to be either removed or rewritten after some fact checking. Change-Id: I3cdf1f8554f8f26627a9a5f17c2ee0038c933468 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quickcontrols2/qquickstyle.cpp')
-rw-r--r--src/quickcontrols2/qquickstyle.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/quickcontrols2/qquickstyle.cpp b/src/quickcontrols2/qquickstyle.cpp
index 2564a49b..fd81d1dd 100644
--- a/src/quickcontrols2/qquickstyle.cpp
+++ b/src/quickcontrols2/qquickstyle.cpp
@@ -76,7 +76,6 @@ Q_LOGGING_CATEGORY(lcQtQuickControlsStyle, "qt.quick.controls.style")
int main(int argc, char *argv[])
{
- QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QGuiApplication app(argc, argv);
QQuickStyle::setStyle("Material");