Hi,

I have the following code to close my widget and remove from the workspace :

Qt Code:
  1. m_pMessageTree->close();
  2. m_pworkspace->removeSubWindow( m_pMessageTree );
  3. delete m_pMessageTree;
To copy to clipboard, switch view to plain text mode 

Problem is, the widget/window doesn't close?

Am I doing something obviously wrong?

Thanks,
Steve