wangwenx190 / framelesshelper

Project moved to: https://github.com/stdware/qwindowkit Cross-platform window customization framework for Qt Widgets and Qt Quick. Supports Windows, Linux and macOS.
MIT License
849 stars 202 forks source link

代码问题 #337

Open Stefan-Yang93 opened 11 months ago

Stefan-Yang93 commented 11 months ago

bool RegistryKey::isValid() const {

if REGISTRYKEY_QWINREGISTRYKEY

return (m_registryKey && m_registryKey->isValid());

else

return m_settings;

endif

} Snipaste_2023-12-17_14-36-25 bool 怎么返回指针呢

wangwenx190 commented 11 months ago

我记得有隐式转换的,不行你就显式转换一下