so you must have a crash when doing model->appendRow(item); in OgreWidget right ?
if it s true it s just that you need that ogreWidget ask for the model pointer to Mainwindow, else how do you want OgreWidget to know what model is ?
so you must have a crash when doing model->appendRow(item); in OgreWidget right ?
if it s true it s just that you need that ogreWidget ask for the model pointer to Mainwindow, else how do you want OgreWidget to know what model is ?
Bookmarks