Daniel
2024-12-06 91274c58b1772dfe38d3fcab291693141e822684
refs
用户 Daniel <49284193+dnlkrs@users.noreply.github.com>
星期五, 十二月 6, 2024 21:55 +0800
提交者 GitHub <noreply@github.com>
星期五, 十二月 6, 2024 21:55 +0800
提交91274c58b1772dfe38d3fcab291693141e822684
目录 e918f5f8d64703480f7d0b764aad062bbaaefd00 目录 | zip | gz
parent ba8e8a32fc6e909ad0a2c152e36b6660c01fdad5 查看 | 对比
Fix WindowsRegistryKey for Qt 6.8.1 (#154)

* Fix WindowsRegistryKey for Qt 6.8.1

* Use new Qt Private API instead of restoring the old version

* Applied review changes

- Moved template specializations to header, had to add inline for this to work
- Added const qualifiers
- Added space after if
- Removed unneeded new lines
- Removed new lines inserted by the IDE
- Removed general template implementation, static asserts did not compile (due to MOC i think). Using the function with any other type than DWORD will still cause a compilation error

* Fix const

* Fix line ending
3个文件已修改
56 ■■■■ 已修改文件
src/core/qwindowkit_windows.cpp 6 ●●●● 对比 | 查看 | 原始文档 | blame | 历史
src/core/qwindowkit_windows.h 30 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
src/core/shared/qwkwindowsextra_p.h 20 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史