Hi all
I have a problem with QWorkspece child windows(MDI windows)
I have a workspace and i have two child windows(m_myclassView1, m_myclassView2)
When i maximize one window and then close the window, the two child windows will be closed but i see still
the caption of one of the window(the window which was not maximized) at the title bar.

Can someone help me what am i doing wrong?

Qt Code:
  1. void MyClass::closeEvent( QCloseEvent *e )
  2. {
  3.  
  4. if ( m_myclassView1.View() )
  5. m_myclassView1.View()->close();
  6.  
  7. if ( m_myclassView2.View() )
  8. m_myclassView2.View()->close();
  9. }
  10.  
  11. QWidget::closeEvent(e);
  12. }
To copy to clipboard, switch view to plain text mode