diff options
| author | Assam Boudjelthia <assam.boudjelthia@qt.io> | 2022-08-23 16:50:45 +0300 |
|---|---|---|
| committer | Assam Boudjelthia <assam.boudjelthia@qt.io> | 2022-10-19 16:39:09 +0300 |
| commit | 6f418df9cc931032ffc32a15b6ff268452fe9f01 (patch) | |
| tree | 8ad56a57af8697289b8939a257ebf844737629d6 /src/gui/doc/snippets/textdocument-charformats/main.cpp | |
| parent | dd40306968c6ebea88a2e47aed9ac1ff498f5251 (diff) | |
Android: properly retrieve mime type of uri to for openUrl()
Retrieve the mime type of the url regardless of whether QFile::exists()
returns true or false, because it is nonetheless required when calling
openUrl().
Pick-to: 6.2 6.3 6.4 5.15
Fixes: QTBUG-47979
Change-Id: Ia095b76d5d39addb0b115eb97ac6bbae0c18a21f
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Samuel Mira <samuel.mira@qt.io>
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Rami Potinkara <rami.potinkara@qt.io>
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
Diffstat (limited to 'src/gui/doc/snippets/textdocument-charformats/main.cpp')
0 files changed, 0 insertions, 0 deletions
