diff options
author | Assam Boudjelthia <assam.boudjelthia@qt.io> | 2021-07-29 11:59:58 +0300 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-07-30 12:26:56 +0000 |
commit | 622c96a94107c125a8e1c3a2a28b39a97eb1a7eb (patch) | |
tree | 5f7b8dac3f9b50421c798fe5865c847f2aaf37af /examples | |
parent | f7aa8e5b62772bb752cb7766ea45a56c859ad041 (diff) |
Remove mention of permission api in http example
Change-Id: I8b22633e1ad5372f92f87315b7184a4b499a0a0b
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit 0edda211f9a333b322ab5b6d0156271f4d460ece)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/network/http/main.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/examples/network/http/main.cpp b/examples/network/http/main.cpp index 43d510e16b..c306149c29 100644 --- a/examples/network/http/main.cpp +++ b/examples/network/http/main.cpp @@ -57,14 +57,6 @@ int main(int argc, char *argv[]) { QApplication app(argc, argv); - - auto permission = QApplicationPermission::WriteStorage; - if (QCoreApplication::requestPermission(permission).result() - != QApplicationPermission::Authorized) { - qWarning() << "Couldn't get 'WriteStorage' permission!"; - return -1; - } - HttpWindow httpWin; const QRect availableSize = httpWin.screen()->availableGeometry(); httpWin.resize(availableSize.width() / 5, availableSize.height() / 5); |