}
}
}
+ {
+ QVector<Gui::Panel *>::iterator it = mMinimizedPanels.begin();
+ while (it != mMinimizedPanels.end())
+ {
+ if (*it == obj)
+ {
+ it = mMinimizedPanels.erase(it);
+ }
+ else
+ {
+ ++it;
+ }
+ }
+ }
// Do the same with panel names
{
}
}
+ // If it was the main panel, set the main panel to NULL
if (mMainPanel == obj) {
mMainPanel = 0;
}