Thanks guys.. Did work, problem with uninitialized pointer in constructor & one more silly mistake
Qt Code:
1. model::model() : m_parent(nullPtr) 2. int model::childCount() { m_childs.count; //did put return here but, compiler did not warn }To copy to clipboard, switch view to plain text mode
Bookmarks