summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qresource.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2025-02-10 16:00:49 -0800
committerThiago Macieira <thiago.macieira@intel.com>2025-02-14 14:02:02 -0800
commitfd3c05cd073b11482560d5f0c30bd415ff16ba6f (patch)
tree97be5b341a7e02ed0dc3d0a4b3b9da1257edec55 /src/corelib/io/qresource.cpp
parentb888bc09ce33a91800cb2119a52097897f3d62d1 (diff)
Long live qEnvironmentVariableIntegerValue() returning std::optional
That way, we won't need to pass a bool pointer to distinguish an environment variable containing zero from one that failed to parse. [ChangeLog][QtCore][QtEnvironment] Added qEnvironmentVariableIntegerValue(), which returns std::optional<int>. Fixes: QTBUG-133654 Change-Id: If0d6c3a6f7a080588fa5fffd87b9365f0f8e1089 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/io/qresource.cpp')
0 files changed, 0 insertions, 0 deletions