QMdiArea
receives a pointer to QWidgetTab
in order to add a tab. I do something like the following for that:
if(!mywin)
mywin = new MyWindow;
addTab(mywin)
In the beginning I do mywin = nullptr;
but after user closes tab mywin
isn't asign nullptr
. How to do that?
Aucun commentaire:
Enregistrer un commentaire