Should Default really be required for qml_register_singleton_instance?
Opened this issue · 0 comments
mullr commented
The signature currently looks like this:
pub fn qml_register_singleton_instance<T: QObject + Sized + Default>
But it doesn't make sense to me why Default
would be required there, and the implementation doesn't seem to use it at all. Perhaps this is a copy-paste bug, from qml_register_singleton_type
?