diff options
author | Alex Blasche <alexander.blasche@qt.io> | 2017-06-28 14:56:42 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@qt.io> | 2017-06-29 09:57:04 +0000 |
commit | 2f596f9b80084df8897215d8436ffbbdc962198a (patch) | |
tree | bac4988c6cec69493c6f5405fe69164ed91d324f /examples | |
parent | b93dc2756d9947236deb955634b499b27aaaa414 (diff) |
Btchat example should be fullscreen on mobile
Change-Id: Ib311037a4ccf147dcd083ff13c327e29e0dc08f4
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/bluetooth/btchat/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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(); |