[Uml-devel] branches/work/isi-umbrello/umbrello/umbrello

Pierre Pettera ppmakusu at gmail.com
Tue Feb 13 06:14:44 UTC 2007


SVN commit 633082 by pettera:

Undo / Redo commit:

-Pb with compilation, I change one thing in order to make umbrello running. (second time)
There is a pb with UMLWidgetFactory...

 M  +2 -4      umlobject.cpp  


--- branches/work/isi-umbrello/umbrello/umbrello/umlobject.cpp #633081:633082
@@ -102,8 +102,7 @@
 }
 
 void UMLObject::setName(const QString &strName) {
-      UMLDoc* m_doc = UMLApp::app()->getDocument();
-      m_doc->executeCommand(new cmdSetName(this,strName));
+     UMLApp::app()->executeCommand(new cmdSetName(this,strName));
 }
 
 void UMLObject::setNamecmd(const QString &strName) {
@@ -272,8 +271,7 @@
 }
 
 void UMLObject::setVisibility(Uml::Visibility s) {
-      UMLDoc* m_doc = UMLApp::app()->getDocument();
-      m_doc->executeCommand(new cmdSetVisibility(this,s));
+	UMLApp::app()->executeCommand(new cmdSetVisibility(this,s));
 }
 
 void UMLObject::setVisibilitycmd(Uml::Visibility s) {




More information about the umbrello-devel mailing list