aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols2/wearable/wearable.cpp
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2017-05-31 08:13:14 +0200
committerLiang Qi <liang.qi@qt.io>2017-05-31 08:13:14 +0200
commit1e472c6c1aafd893eebf29929b36b77c42c0e199 (patch)
tree5d63cff70bc21e0ead4135347cc87e65e864f824 /examples/quickcontrols2/wearable/wearable.cpp
parent44dd55be23138f0a6495b08818acaaa0ff68b086 (diff)
parentef6b8d3081f0bf93d6d59e67c8e3f82c63c511c3 (diff)
Merge remote-tracking branch 'origin/5.9.0' into 5.9
Diffstat (limited to 'examples/quickcontrols2/wearable/wearable.cpp')
-rw-r--r--examples/quickcontrols2/wearable/wearable.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/quickcontrols2/wearable/wearable.cpp b/examples/quickcontrols2/wearable/wearable.cpp
index c50c95c4..e6fdad74 100644
--- a/examples/quickcontrols2/wearable/wearable.cpp
+++ b/examples/quickcontrols2/wearable/wearable.cpp
@@ -54,6 +54,7 @@
int main(int argc, char *argv[])
{
+ QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QGuiApplication app(argc, argv);
//! [style]