[Uml-devel] kdesdk/umbrello/umbrello

Brian Thomas thomas at mail630.gsfc.nasa.gov
Thu Sep 11 12:53:28 UTC 2003


CVS commit by thomas: 

bug fix: prevent trying to disconnect from null object


  M +2 -2      linepath.cpp   1.18


--- kdesdk/umbrello/umbrello/linepath.cpp  #1.17:1.18
@@ -784,4 +783,5 @@ void LinePath::cleanup() {
         if( m_pAssociation ) {
                 UMLView * view =  (UMLView *)m_pAssociation -> parent();
+                if(view)
                 disconnect( view, SIGNAL( sigLineColorChanged( QColor ) ), this, SLOT( setLineColor( QColor ) ) );
                 m_pAssociation = NULL;






More information about the umbrello-devel mailing list