[Uml-devel] kdesdk/umbrello/umbrello
Sebastian Stein
seb.kde at hpfsc.de
Tue Nov 11 09:20:10 UTC 2003
CVS commit by sstein:
fix bug #67765: We have to disconnect slot/signal before deleting and not the other way around.
M +1 -1 operation.cpp 1.14
--- kdesdk/umbrello/umbrello/operation.cpp #1.13:1.14
@@ -51,9 +51,9 @@ void UMLOperation::addParm(QString type,
////////////////////////////////////////////////////////////////////////////////////////////////////
void UMLOperation::removeParm(UMLAttribute * a) {
+ disconnect(a,SIGNAL(modified()),this,SIGNAL(modified()));
if(!m_List.remove(a))
kdDebug() << "Error removing parm" << endl;
emit modified();
- disconnect(a,SIGNAL(modified()),this,SIGNAL(modified()));
}
////////////////////////////////////////////////////////////////////////////////////////////////////
More information about the umbrello-devel
mailing list