diff options
author | Pasi Petäjäjärvi <pasi.petajajarvi@qt.io> | 2023-08-23 10:42:51 +0300 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2023-08-25 15:56:27 +0000 |
commit | dd3840a1a201318c8f089dc7d34ec38f64e05b4e (patch) | |
tree | 742aa9db5465e99f64fe9543faff51bde1ddf59d /src/network/access/qnetworkrequest_p.h | |
parent | 002c2723c955f66fbbc2e4a66f195c3148cb9e47 (diff) |
QGuiApplication: Report default platform name before initialization
Calling this function before we had a QGuiApplication instance, would
return an empty string, even if QT_QPA_DEFAULT_PLATFORM_NAME was defined
at compile time. We now return the default platform name
[ChangeLog][QtGui][QGuiApplication] QGuiApplication::platformName
now reports the default platform name if QGuiApplication hasn't been
instantiated yet. It used to return an empty string.
Pick-to: 6.6 6.5
Change-Id: Iffe7cde8943ed2d186bc494d0920b9cf79389dd0
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/network/access/qnetworkrequest_p.h')
0 files changed, 0 insertions, 0 deletions