From 2f596f9b80084df8897215d8436ffbbdc962198a Mon Sep 17 00:00:00 2001 From: Alex Blasche Date: Wed, 28 Jun 2017 14:56:42 +0200 Subject: Btchat example should be fullscreen on mobile Change-Id: Ib311037a4ccf147dcd083ff13c327e29e0dc08f4 Reviewed-by: Timur Pocheptsov --- examples/bluetooth/btchat/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'examples') diff --git a/examples/bluetooth/btchat/main.cpp b/examples/bluetooth/btchat/main.cpp index bb862798..50e682e7 100644 --- a/examples/bluetooth/btchat/main.cpp +++ b/examples/bluetooth/btchat/main.cpp @@ -51,7 +51,11 @@ int main(int argc, char *argv[]) Chat d; QObject::connect(&d, SIGNAL(accepted()), &app, SLOT(quit())); +#ifdef Q_OS_ANDROID + d.showMaximized(); +#else d.show(); +#endif app.exec(); -- cgit v1.2.3