Commit 39252ac2 authored by Thomas BOUTROUE's avatar Thomas BOUTROUE

Add toVector() QML ListProperty helper

parent 5b95dcf3
Pipeline #4 failed with stage
......@@ -45,6 +45,8 @@ public:
return (idx >= 0 && idx < m_items.length () ? m_items.at (idx) : nullptr);
}
inline cpp_list_type toVector (void) const { return m_items; }
private:
cpp_list_type m_items;
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment