diff options
author | Mårten Nordheim <marten.nordheim@qt.io> | 2021-08-25 16:18:04 +0200 |
---|---|---|
committer | Mårten Nordheim <marten.nordheim@qt.io> | 2021-08-27 19:22:28 +0200 |
commit | b33ccd99e130c02d582ae42158663e13f093b7c3 (patch) | |
tree | c4cb461934e82c2ae27ee3736d3456eb1d38f274 /src/plugins/platforms/cocoa/qnsview_keys.mm | |
parent | 9935dfe289a2982ae336eb83b50ffdcec6d2e88a (diff) |
QNetworkCookie: Clean up
Rewrite the regex to not capture the things we ignore anyway.
Use capturedView to avoid allocating a string just to turn it into an
int.
Fix a (usually) ifdef-ed out piece of code that was still calling
a QRegExp function.
Make the QRegularExpression static const to save it from having to
recompile every time.
Change-Id: I2f4841a2bc35df4e6cea44aec72432410583f770
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/plugins/platforms/cocoa/qnsview_keys.mm')
0 files changed, 0 insertions, 0 deletions