summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/chat/qmlchat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bluetooth/chat/qmlchat.cpp')
-rw-r--r--examples/bluetooth/chat/qmlchat.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/bluetooth/chat/qmlchat.cpp b/examples/bluetooth/chat/qmlchat.cpp
index e7ce3f3a..6c8d2fa7 100644
--- a/examples/bluetooth/chat/qmlchat.cpp
+++ b/examples/bluetooth/chat/qmlchat.cpp
@@ -62,6 +62,7 @@
int main(int argc, char *argv[])
{
//QLoggingCategory::setFilterRules(QStringLiteral("qt.bluetooth* = true"));
+ QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QGuiApplication application(argc, argv);
QList<QBluetoothHostInfo> infos = QBluetoothLocalDevice::allDevices();