app/SidebarMode: Store shared QML engine as std::weak_ptr
- app/SidebarMode: Store shared QML engine as std::weak_ptr
Rather than storing it as a raw pointer, which makes us lose the sharing information which can be useful for other APIs we have that use std::shared_ptr for shared QML engines.