diff options
| author | Yuhang Zhao <2546789017@qq.com> | 2022-10-20 09:27:18 +0800 |
|---|---|---|
| committer | Yuhang Zhao <2546789017@qq.com> | 2022-10-21 11:51:31 +0800 |
| commit | 738e05a55a4047268553eea6b9f4809d42181eef (patch) | |
| tree | 8d89895b8253910912ffc0c4f0ee4f3ced29eb03 /src/concurrent/qtconcurrentreducekernel.h | |
| parent | 466a03e724aa39f7c57010cc2263adb06976ea50 (diff) | |
QWinRegistryKey: fix assert when querying default value
I wrongly assumed we can't query a value with an empty name ""
during the previous refactor commit, however, in Windows registry,
an empty name for a value means the default value of a key, we can
read and write it through the "Default" name.
Remove the wrong assert to fix the crash when we are trying to query
a default value of a key.
Add a new test case to test this kind of scenarios.
Amends commit 40523b68c14bf618bdc2d5438deebf34627be3af
Fixes: QTBUG-107794
Change-Id: Idacbcb86df4435a8c1ca1c19121599390ae8f3d3
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/concurrent/qtconcurrentreducekernel.h')
0 files changed, 0 insertions, 0 deletions
