diff options
| author | Lars Knoll <[email protected]> | 2020-03-04 09:54:35 +0100 |
|---|---|---|
| committer | Shawn Rutledge <[email protected]> | 2020-03-04 14:39:18 +0000 |
| commit | 2a4b95778993b00499eb94f61a87330fdbadf947 (patch) | |
| tree | 168147adcc2854cb6723335b5abffe9d7585c7f4 /examples/network/http/main.cpp | |
| parent | b4e17a48646a1d2156b7d56ab6003db46af79cec (diff) | |
| parent | 048f0a00fa7b46f531fbe3ed6d1babae9858e8c2 (diff) | |
Merge remote-tracking branch 'origin/5.15' into dev
Change-Id: I99ee6f8b4bdc372437ee60d1feab931487fe55c4
Diffstat (limited to 'examples/network/http/main.cpp')
| -rw-r--r-- | examples/network/http/main.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/network/http/main.cpp b/examples/network/http/main.cpp index 1339f2f6934..6c86933fd64 100644 --- a/examples/network/http/main.cpp +++ b/examples/network/http/main.cpp @@ -81,7 +81,11 @@ int main(int argc, char *argv[]) const QRect availableSize = httpWin.screen()->availableGeometry(); httpWin.resize(availableSize.width() / 5, availableSize.height() / 5); httpWin.move((availableSize.width() - httpWin.width()) / 2, (availableSize.height() - httpWin.height()) / 2); - +#ifdef Q_OS_ANDROID + httpWin.showMaximized(); +#else httpWin.show(); +#endif + return app.exec(); } |
